For details about stored LSI calculation parameters, see
PrintLSIParams
.
RunLSI(object, ...)# S3 method for default
RunLSI(
object,
assay = NULL,
n = 50,
reduction.key = "LSI_",
scale.max = NULL,
seed.use = 42,
verbose = TRUE,
...
)
# S3 method for Assay
RunLSI(
object,
assay = NULL,
features = NULL,
n = 50,
reduction.key = "LSI_",
scale.max = NULL,
verbose = TRUE,
...
)
# S3 method for Seurat
RunLSI(
object,
assay = NULL,
features = NULL,
n = 50,
reduction.key = "LSI_",
reduction.name = "lsi",
scale.max = NULL,
verbose = TRUE,
...
)
Seurat object
Arguments passed to other methods
Which assay to use. If NULL, use the default assay
Number of singular values to compute
Key for dimension reduction object
Clipping value for cell embeddings. Default (NULL) is no clipping.
Set a random seed. By default, sets the seed to 42. Setting NULL will not set a seed.
Print messages
Which features to use. If NULL, use variable features
Name for stored dimension reduction object. Default 'lsi'
# NOT RUN {
lsi <- RunLSI(object = pbmc_small, n = 5)
# }
Run the code above in your browser using DataLab