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. Handles an as yet uncharacterized issue with column names in prior versions of data processing.

apply_simlr_matrices_dtfix(
  existing_df,
  matrices_list,
  n_limit = NULL,
  robust = FALSE,
  center = FALSE,
  scale = FALSE,
  verbose = FALSE
)

Arguments

existing_df

An existing data frame to which the matrices will be applied.

matrices_list

A list of matrices read from CSV files.

n_limit

NULL or integer that can limit the number of projections

robust

boolean

center

boolean center the data before applying

scale

boolean scale the data before applying

verbose

boolean

Value

A list including (entry one) data frame with the original data frame combined with the projections (entry two) the new column names