regress_out_from_embeddings | R Documentation |
Regress out variables from cell embeddings with a linear model
regress_out_from_embeddings(object, ...)
## Default S3 method:
regress_out_from_embeddings(object, vars)
## S3 method for class 'Seurat'
regress_out_from_embeddings(
object,
reduction,
vars_to_regress,
reduction.name = reduction,
reduction.key = NULL
)
object |
An object |
vars |
Data frame of the variables to regress out |
reduction |
Name of the reduction object to use |
vars_to_regress |
Variables in the meta.data slot for regressing out |
reduction.name |
Name of the new reduction object |
reduction, key |
Key of the returned reduction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.