fgsea_ssgsea_msviper: Run fgsea on each regulon set individually

Description Usage Arguments Value

View source: R/aracne-ap_viper.R

Description

Run fgsea on each regulon set individually

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
fgsea_ssgsea_msviper(
  mra,
  mra_stat = "p.value",
  genome_prefix,
  msigdb_species = "Homo sapiens",
  msigdb_cat = "H",
  tag,
  exprdh,
  tx2gene,
  gene_col = "external_gene_name",
  output_dir,
  sig_val = 0.1,
  per_regulon = NULL,
  phenos
)

Arguments

mra

msviper class object with es, ledge

mra_stat

statistic used to rank data, comes from msViper

genome_prefix

string of a genome in biomart$dataset, suffixed with '_gene_ensembl'

msigdb_species

one of msigdbr::msigdbr_species(), default:"Homo sapiens"

msigdb_cat

one of 'c("H", paste0("C", c(1:7)))', see: gsea-msigdb.org/gsea/msigdb/collections.jsp

tag

string used to prefix output

exprdh

expression data

tx2gene

annotation data

gene_col

the name of the column in tibble with gene names found in pathways, set to "rownames" if they are the rownames (default)

output_dir

path to where output goes

sig_val

significance used in analysis

per_regulon

flag to indicate if fgsea is at collective regulon level, or if each regulon and the genes it is co-expressed with are used

phenos

metadata tibble

Value

sure


brucemoran/RNAseqR documentation built on Sept. 14, 2021, 11:08 a.m.