topMarkers: Top Markers

Description Usage Arguments Value Author(s) See Also Examples

Description

Top Markers

Usage

1
2
3
4
5
topMarkers(object, ...)

## S4 method for signature 'grouped_df'
topMarkers(object, n = 10L, direction = c("positive",
  "negative", "both"), coding = FALSE)

Arguments

object

Object.

...

Additional arguments.

n

Number of genes per cluster.

direction

Whether to include "positive", "negative", or "both" directions of association per cluster.

coding

Only include protein coding genes.

Value

grouped_df.

Author(s)

Michael Steinbaugh

See Also

Other Clustering Functions: cellTypesPerCluster, knownMarkersDetected, plotCellTypesPerCluster, plotFeatureTSNE, plotKnownMarkersDetected, plotPCElbow, plotTSNE, sanitizeMarkers

Examples

1
2
3
4
5
6
7
8
9
# grouped_df ====
# Currently only works on `Seurat::FindAllMarkers()` return sanitized with
# our `sanitizeMarkers()` function
x <- topMarkers(
    object = all_markers_small,
    n = 2L,
    direction = "positive"
)
head(x)

roryk/bcbioSinglecell documentation built on May 27, 2019, 10:44 p.m.