View source: R/Seurat.Utils.Metadata.R
getMedianMetric.lsObj | R Documentation |
Get the median values of different columns in meta.data, can iterate over a list of Seurat objects.
getMedianMetric.lsObj(
ls.obj = ls.Seurat,
n.datasets = length(ls.Seurat),
mColname = "percent.mito"
)
ls.obj |
List of Seurat objects, Default: ls.Seurat |
n.datasets |
lenght of list (n objects), Default: length(ls.Seurat) |
mColname |
Metadata column name to calculate on. Default: 'percent.mito' |
## Not run:
if (interactive()) {
ls.Seurat <- getMedianMetric.lsObj(
ls.obj = ls.Seurat, n.datasets = length(ls.Seurat),
mColname = "percent.mito"
)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.