Skip to contents

Parameters of calculate_lsi_sc(), Signac's RunSVD() on the TF-IDF.

Usage

params_atac_lsi(
  n_comp = 50L,
  drop_first = TRUE,
  solver = c("auto", "exact", "randomised", "covariance"),
  scale_max = NULL
)

Arguments

n_comp

Integer. Components to compute. Defaults to 50L.

drop_first

Boolean. Leave component 1 out of the embedding. It usually tracks sequencing depth; get_lsi_depth_cor() shows whether it does. Defaults to TRUE.

solver

String. SVD solver, see params_sc_pca() for the trade-offs. One of c("auto", "exact", "randomised", "covariance"). Defaults to "auto".

scale_max

Numeric or NULL. Clip the z-scored components to +-scale_max. Defaults to NULL.

Value

A named list with the following elements:

  • n_comp - Integer. Components to compute. Defaults to 50L.

  • drop_first - Boolean. Leave component 1 out of the embedding. It usually tracks sequencing depth; get_lsi_depth_cor() shows whether it does. Defaults to TRUE.

  • solver - String. SVD solver, see params_sc_pca() for the trade-offs. One of c("auto", "exact", "randomised", "covariance"). Defaults to "auto".

  • scale_max - Numeric or NULL. Clip the z-scored components to +-scale_max. Defaults to NULL.