totalVI_load | R Documentation |
Load totalVI output from adata object into SingleCellExperiment
totalVI_load(
adata,
sce = NULL,
reducedDim_include = c("totalVI", "X_umap"),
RNA_layer = "denoised_rna",
barcodes = intersect,
protein_obsm = "denoised_protein",
protein_fg_obsm = "protein_fg_prob",
protein_altexp_name = "VI_ADT",
protein_rownames_prefix = "VI_",
...
)
adata |
AnnData object containing scVI output |
sce |
Existing sce object. If supplied, coldata is added to this object and scVI normalized expression is added as an altExp |
RNA_layer |
Name of adata$layers that contains the scVI normalized expression matrix |
barcodes |
Function to handle if different barcodes are included in either SCE or adata objects? Intersect to include only barcodes present in both objects, union to include all barcodes - will fill missing values with NA and missing expression with 0 (default: intersect) |
protein_obsm |
Name of adata$obsm that contains the totalVI protein denoised expression matrix |
protein_fg_obsm |
Name of adata$obsm that contains the totalVI protein foreground probability matrix |
protein_altexp_name |
Name of altExp to place totalVI protein data |
protein_rownames_prefix |
Prefix for rownames in altExp containing totalVI protein data |
... |
Passed on to scVI_load |
reducedDims |
Which reducedDims should be transferred from adata$obsm |
Returns a SingleCellExperiment (SCE). If existing sce is not given the returned SCE contains totalVI normalized expression, else totalVI normalized expression and totalVI protein expression are added as altExps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.