Description Usage Arguments Value Examples
View source: R/perform.sct.normalisation.R
Performs SCTransform normalisation, hvg selection, scaling and variance stabilisation and regression.
1 | perform.sct(object, assay, slot, new.assay.suffix = "", ...)
|
object |
IBRAP S4 class object |
assay |
A character string containing indicating which assay to use |
slot |
String indicating which slot within the assay should be sourced |
new.assay.suffix |
Character. What should be added as a suffix for SCT |
do.scale |
Whether to scale residuals to have unit variance; default is FALSE |
do.center |
Whether to center residuals to have mean zero; default is TRUE |
vars.to.regress |
Character. Which data from 'object@sample_metadata' should be regressed from the dataset. |
n.genes |
Numerical value of how many highly variable genes should be retained. Default = 1500 |
min_cells |
Numerical value of minimum cells required for a gene to not be filtered. Default = 3 |
Produces a new 'methods' assay containing normalised, scaled and HVGs.
1 2 3 | object <- perform.sct(object = object,
assay = 'RAW',
slot = 'counts')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.