topBarcodes: Top Barcodes

Description Usage Arguments Value Author(s) See Also Examples

Description

Obtain the top cellular barcodes based on UMI counts.

Usage

1
2
3
4
5
6
7
8
9
topBarcodes(object, ...)

## S4 method for signature 'SingleCellExperiment'
topBarcodes(object, n = 1000L,
  return = c("data.frame", "list"))

## S4 method for signature 'seurat'
topBarcodes(object, n = 1000L, return = c("data.frame",
  "list"))

Arguments

object

Object.

...

Additional arguments.

n

Number of barcodes to return per sample.

return

Return type. Uses base::match.arg() internally and defaults to the first argument in the vector.

Value

Author(s)

Michael Steinbaugh

See Also

Other Data Functions: aggregateReplicates, cell2sample, fetchGeneData, mapCellsToSamples, metricsPerSample, sampleData, selectSamples, subsetPerSample

Examples

1
2
3
4
5
6
7
8
# SingleCellExperiment ====
# list
x <- topBarcodes(cellranger_small, return = "list")
lapply(x, class)

# data.frame
x <- topBarcodes(cellranger_small, return = "data.frame")
glimpse(x)

WeiSong-bio/roryk-bcbioSinglecell documentation built on July 6, 2019, 12:03 a.m.