View source: R/data_process_funcs.R
prepareDataObjects | R Documentation |
The function processes the pan-cancer data and returns an object with viabilities matrix, mutation matrix, mutation annotations and primary site for different types of cancers.
prepareDataObjects( data, x, fdr = 0.05, min_Nmut = 2, all_cancers_mut_df, CN_df, gistic = FALSE, top_drivers = NULL, CN_Thr = 2, minNrcelllines = 5, celllines, meta_data, essential_genes = NULL )
data |
input data frame of cell line viabilities for different gene knockdowns |
x |
primary site |
fdr |
fdr cut-off for choosing the top drivers from mutSig2 list of drivers. Default = 0.05 |
min_Nmut |
lower bound of number of cell lines with mutations. Default = 2 |
all_cancers_mut_df |
MAF file from CCLE |
CN_df |
copy number dataframe from CCLE |
gistic |
Logical variable checking if copy number is based on Gistic. Default = FALSE |
top_drivers |
vector of driver genes of interest. Default = NULL |
CN_Thr |
threshold for using CN data. Values: 0 = Homozygous and heterozygous deletions ; 1 = Homozygous deletions only; 2 = No copy number used (default) |
minNrcelllines |
lower bound of number of cell lines. Default = 5 |
celllines |
vector of interested celllines |
meta_data |
information on different sub types for each primary site |
essential_genes |
vector of essential genes |
An object for each cancer type
dataframe of viabilities for each cancer type
matrix of mutations in drivers for each cancer type
matrix of non-negative copy number alterations of drivers for each cancer type
annotations of the mutations
cancer type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.