ct.multiGSEA: Geneset Enrichment within a CRISPR screen using multiGSEA...

Description Usage Arguments Author(s) Examples

View source: R/GREATdb.R

Description

Geneset Enrichment within a CRISPR screen using multiGSEA

This function identifies differentially enriched/depleted ontological categories within the hits of a CRISPR screen given a provided 'GenseSetDb()' and a results 'data.frame' created by 'ct.generateResults()'. Testing is performed using a Hypergeometric test, and results are returned as a 'MultiGSEAResult' object defined in the 'multiGSEA' package. Note that the '@logFC' slot in the returned object will contain the median gRNA lfc across all associated guides, which in some cases may have dubious interpretive value.

This method used overrepresentation analysis, derived from 'limma::kegga()', and incorporates the number of gRNAs associated with each Target (inferred from the 'geneSymbol' column of the 'resultsDF') as the bias vector (because standard aggregation methods should be underpowered for targets with few guides). Setting 'unbiased' = 'TRUE' suppresses this behavior, which is identical to a hypergeometric test.

Usage

1
2
3
4
5
6
7
ct.multiGSEA(
  resultsDF,
  gsdb,
  cutoff = 0.1,
  stat = c("q", "p", "rho"),
  unbiased = FALSE
)

Arguments

resultsDF

'data.frame' returned by 'ct.generateResults()'.

gsdb

'GenseSetDb' object containing annotations.

cutoff

Q, P, or Rho statistic cutoff defining significant enrichment/depletion in the screen. Default is 0.1.

stat

Statistic to be used in calling enrichment/depletion in the screen. Must be one of 'q', 'p', or 'rho'.

unbiased

Logical indicating whether to estimate bias on the basis of the number of gRNAs associated with each target.

Author(s)

Steve Lianoglou for multiGSEA; Russell Bainer for wrapping functions.

Examples

1
2
3
data('ann')
data('resultsDF')
#gsd <- multiGSEA::getMSigGeneSetDb(c('h', 'c2'), 'mouse', id.type = 'entrez')

gCrisprTools documentation built on Nov. 8, 2020, 8:17 p.m.