View source: R/utility_functions.R
expressionToRWFeatures | R Documentation |
Conveniently wraps RWRFGSEA
using
retrieveDiseaseGenesOT
for disease associated genes,
STRINGdb
human PPI as a network, msigdbr
for gene set annotations and
biomaRt
for matching gene IDs.
expressionToRWFeatures(
dat,
disease_id,
otp_score = "association_score.datatypes.rna_expression",
otp_cutoff = 0,
ppi_cutoff = 700,
pw_min.size = 5,
pw_max.size = 200,
dat_gene_key = "SYMBOL",
gs_subcats = c("BP", "MF", "CP:KEGG", "CP:REACTOME"),
directed_ppi = FALSE,
...
)
dat |
A gene expression matrix with samples on columns. |
disease_id |
Integer ID in Open Targets platform. |
otp_score |
Name of association score column in Open Targets. |
otp_cutoff |
Numeric association score cutoff for Open Targets platform genes. |
ppi_cutoff |
Numeric PPI link score cutoff. |
pw_min.size |
Minimum gene set size to use. |
pw_max.size |
Maximum gene set size to use. |
dat_gene_key |
Data gene annotation type. |
gs_subcats |
Gene set subcategories in |
directed_ppi |
Whether to generate a directed network. |
... |
extra arguments are passed on to |
list of enrichment scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.