StoreTop25Markers: Save Top 25 Markers per Cluster

View source: R/Seurat.Utils.R

StoreTop25MarkersR Documentation

Save Top 25 Markers per Cluster

Description

Stores the top 25 markers for each cluster identified in a Seurat object, based on the avg_log2FC from the output table of FindAllMarkers(). The result is saved under ⁠@misc$df.markers$res...⁠, rounding insignificant digits to three decimal places.

Usage

StoreTop25Markers(obj = combined.obj, df_markers = df.markers, res = 0.5)

Arguments

obj

Seurat object to update with top 25 markers information. Default: combined.obj.

df_markers

Data frame containing results from differential gene expression analysis via FindAllMarkers(), specifying significant markers across clusters. Default: df.markers.

res

Clustering resolution at which the markers were identified. Default: 0.5.

See Also

FindAllMarkers, top_n

Examples

## Not run: 
if (interactive()) {
  combined.obj <- StoreTop25Markers(obj = combined.obj, df_markers = df.markers, res = 0.5)
}

## End(Not run)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.