summarizeSCE: Summarize an assay in a SingleCellExperiment

Description Usage Arguments Value Examples

View source: R/miscFunctions.R

Description

Creates a table of summary metrics from an input SingleCellExperiment

Usage

1
summarizeSCE(inSCE, useAssay = NULL, sampleVariableName = NULL)

Arguments

inSCE

Input SingleCellExperiment object.

useAssay

Indicate which assay to summarize. If NULL, then the first assay in inSCE will be used. Default NULL.

sampleVariableName

Variable name in colData denoting which sample each cell belongs to. If NULL, all cells will be assumed to come from the same sample. Default "sample".

Value

A data.frame object of summary metrics.

Examples

1
2
data("mouseBrainSubsetSCE")
summarizeSCE(mouseBrainSubsetSCE, sample = NULL)

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.