process_input_seurat: Extract differentially expressed genes from Seurat object

View source: R/process.R

process_input_seuratR Documentation

Extract differentially expressed genes from Seurat object

Description

Finds differentially expressed genes, records adjusted P-value and filters for values less than max_p.

Usage

process_input_seurat(
  seurat,
  id_1,
  id_2 = NULL,
  group = NULL,
  cluster = NULL,
  max_p = 0.05
)

Arguments

seurat

Seurat object

id_1

first identity

id_2

optional: second identity; default all others

group

optional: subgroup of cluster

cluster

optional: cluster selected

max_p

P-value cutoff, only genes with P-values less than this will be returned

Value

tibble: "gene" gene names "value" gene values

Examples

seu_path <- system.file("extdata", "ex_seurat.rds", package = "E.PAGE")
seurat <- readRDS(seu_path)

input <- process_input_seurat(seurat, 0)

AhmedMehdiLab/E.PAGE documentation built on Aug. 21, 2022, 4:37 p.m.