top_up_down_m: Get DE genes in ave_logFC

Description Usage Arguments Value Examples

View source: R/Get_Mixture.R

Description

Get DE genes in ave_logFC

Usage

1
top_up_down_m(marker, m)

Arguments

marker

the result of DE genes of a cluster or the result between the two clusters

m

the number of the genes in top and down

Value

a data.frame has the genes in top/down you choose

Examples

1
2
3
4
5
6
7
## Not run: 
input.file <- system.file('extdata','DEG.csv',package = 'LIANLABDATA')
markers <- read.csv(input.file,header = T, row.names = 1)
markers <- subset(markers,subset = cluster == 'Naive CD4 T')
markers_top <- top_m( markers, m = 20)

## End(Not run)

Lian-Lab/LIANLAB documentation built on June 23, 2021, 5:37 a.m.