ssgsea_pca: Function to run ssGSEA using the GSVA package and return PCA...

Description Usage Arguments Value

View source: R/ssgsea.R

Description

Function to run ssGSEA using the GSVA package and return PCA of results

Usage

1
2
3
4
5
6
7
8
ssgsea_pca(
  pways,
  log2tpm_mat,
  msigdb_cat = "H",
  output_dir,
  contrast,
  metadata
)

Arguments

pways

list of pathway genesets to use in ssGSEA

log2tpm_mat

matrix of log2tpm values per sample across genes in gene lists

msigdb_cat

one of 'c("H", paste0("C", c(1:7)))', see: gsea-msigdb.org/gsea/msigdb/collections.jsp; if H, loads Process_Category data from Liberzon 2015 paper to colour PCA

output_dir

path to where output goes

contrast

string used to prefix output naming the contrast being investigated

metadata

tibble of sample, \<group\> where group colours the PCA

Value

ssgsea_ggp_list results table of each geneset and sample


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