apply_simlr_matrices.Rd
This function takes a list of matrices, applies each matrix via matrix multiplication to an existing data frame, and combines the resulting projections with the original data frame.
apply_simlr_matrices(
existing_df,
matrices_list,
n_limit = NULL,
robust = FALSE,
center = FALSE,
scale = FALSE,
absolute_value = NULL,
verbose = FALSE
)
An existing data frame to which the matrices will be applied.
A list of matrices read from CSV files.
NULL or integer that can limit the number of projections
boolean
boolean center the data before applying
boolean scale the data before applying
boolean vector indicating whether to take abs of feature matrices ;
set to FALSE by default; when using antspymm_simlr
, the values should be set to TRUE;
this is not required but it makes sure that the feature weights are non-negative.
boolean
A list including (entry one) data frame with the original data frame combined with the projections (entry two) the new column names