adjustGiottoMatrix | R Documentation |
Adjust expression values to account for known batch effects or technological covariates.
adjustGiottoMatrix(
gobject,
spat_unit = NULL,
feat_type = NULL,
expression_values = c("normalized", "scaled", "custom"),
batch_columns = NULL,
covariate_columns = NULL,
return_gobject = TRUE,
update_slot = c("custom")
)
gobject |
giotto object |
spat_unit |
spatial unit (e.g. "cell") |
feat_type |
feature type (e.g. "rna", "dna", "protein") |
expression_values |
expression values to use |
batch_columns |
metadata columns that represent different batch (max = 2) |
covariate_columns |
metadata columns that represent covariates to regress out |
return_gobject |
boolean: return giotto object (default = TRUE) |
update_slot |
expression slot that will be updated (default = custom) |
This function implements the removeBatchEffect
function to
remove known batch effects and to adjust expression values according to provided covariates.
giotto object or exprObj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.