topMarkers: Top markers

topMarkersR Documentation

Top markers

Description

Top markers

Usage

topMarkers(object, ...)

## S4 method for signature 'SeuratMarkersPerCluster'
topMarkers(object, direction = c("both", "up", "down"), n = 10L)

Arguments

object

Object.

direction

character(1). Whether to include upregulated ("up"; positive LFC), downregulated ("down"; negative LFC) or "both" directions of association per cluster.

n

integer(1). Number of genes per cluster.

...

Additional arguments.

Value

DataFrame.

Note

Updated 2022-06-09.

Examples

data(SeuratMarkersPerCluster, package = "AcidTest")

## SeuratMarkersPerCluster ====
object <- SeuratMarkersPerCluster
x <- topMarkers(
    object = object,
    direction = "up",
    n = 2L
)
print(x)

acidgenomics/r-pointillism documentation built on Oct. 13, 2023, 3:13 p.m.