StoreAllMarkers: Store All Differential Expression Markers

View source: R/Seurat.Utils.R

StoreAllMarkersR Documentation

Store All Differential Expression Markers

Description

Saves the complete output table from FindAllMarkers() to a Seurat object, facilitating easy access to differential expression analysis results. This function rounds numerical values to a specified number of digits to maintain readability and manage file sizes.

Usage

StoreAllMarkers(
  obj = combined.obj,
  df_markers = df.markers,
  res = 0.5,
  digit = c(0, 3)[2]
)

Arguments

obj

Seurat object to update with differential expression markers. Default: combined.obj.

df_markers

Data frame containing the results from differential gene expression analysis (FindAllMarkers() output). Default: df.markers.

res

Clustering resolution identifier for storing and referencing the markers. Default: 0.5.

digit

Number of significant digits to retain in numerical values. Default: 3.

Examples

## Not run: 
if (interactive()) {
  combined.obj <- StoreAllMarkers(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.