get_sig_sc: get_sig_sc

View source: R/get_sig_sc.R

get_sig_scR Documentation

get_sig_sc

Description

Get gene signature from single-cell differential analysis

Usage

get_sig_sc(
  deg,
  cluster = "cluster",
  gene = "gene",
  avg_log2FC = "avg_log2FC",
  n = 100
)

Arguments

deg

Matrix containing a ranked list of putative markers, and associated statistics (p-values, ROC score, etc.)

cluster

Name of the column in which the clusters are located

gene

Name of the column in which the markers are located

avg_log2FC

Name of the column in which the average log2FC values are located

n

Number of selected top ranked markers

Value

A list containing top n gene markers of each cell types

Examples

data('deg', package = "IOBR")
get_sig_sc(deg, cluster = "cluster", gene = "gene", avg_log2FC = "avg_log2FC", n = 100)

IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.