Description Usage Arguments Value Author(s)
View source: R/add_ROC_gene_sets.R
Adds True Positive and False Positive columns to Bagel output for a list of gene sets and calculates AUROC for each gene set: all relative to the Hart non-essential genes.
1 | add_bagel_ROC_gene_sets(bagel_ctrl_pl, bagel_treat_pl, gene_sets)
|
bagel_ctrl_pl |
A data frame containing Bagel Bayes Factors results for Control vs Plasmid. |
bagel_treat_pl |
A data frame containing Bagel Bayes Factors results for Treatment vs Plasmid. Ignored if 'NULL'. |
gene_sets |
A named list of gene sets. |
A list with the following elements: ‘bagel_ctrl_plasmid' - The original data frame with columns 'gene_set', 'True_Positive_Rate.<gene_set>', 'False_Positive_Rate.<gene_set>' where ’<gene_set>' is the name of a gene set. ‘bagel_treat_plasmid' - The original data frame with columns 'gene_set', 'True_Positive_Rate.<gene_set>' and 'False_Positive_Rate.<gene_set>' where ’<gene_set>' is the name of a gene set. 'NULL' if not given. ‘AUROC' - A data frame containing columns 'AUROC.<comp>.<gene_set>' where ’<comp>' is either 'ctrl_plasmid' or 'treat_plasmid' and <gene_set>' is the name of a gene set.
Alex T. Kalinka, alex.kalinka@cancer.org.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.