select_top_de_genes: Select the top DE genes, ranked on either fold change or...

Description Usage Arguments Examples

View source: R/select_top_de_genes.R

Description

Select the top DE genes, ranked on either fold change or -log10(p-value)

Usage

1
2
3
4
5
6
7
8
9
select_top_de_genes(
  data,
  n = 10,
  fold_change = "fold_change",
  p_value = "p_value",
  groups = c(),
  rank_by = "fold_change",
  only_pos = FALSE
)

Arguments

data

differential expression results

n

number of top DE genes to select

fold_change

column containing fold change data (x-axis)

p_value

column containing p-value data (y-axis is -log10(p_value))

groups

column containing groups to get top DE genes per group (for example, cluster column)

rank_by

whether to rank by fold_change or p_value first

only_pos

only select features with positive fold change

Examples

1

keshavmot2/scanalysis documentation built on Feb. 5, 2021, 4:17 p.m.