get_AUC | R Documentation |
This function calculates the Area Under Curve that define the segregation between tumor and control samples accordingly to their methylation (beta) values.
get_AUC( tumor_table, control_table, max_NA_data = 0, cores = 1, full_info = FALSE )
tumor_table |
A matrix of beta-values from tumor samples. |
control_table |
A matrix of beta-values from normal/control samples. |
max_NA_data |
At most this fraction of NAs (in tumor and control data independently) is permitted to calculate AUC of a site (default=1, i.e. only sites without NAs). |
cores |
Number of cores for parallel computing. |
full_info |
If TRUE (default=FALSE) returns also sites infos (fraction of NAs in tumor and control tables) without skipping probes with missing values. |
A data.frame with AUC scores and probes names
auc_data <- get_AUC(tumor_toy_data, control_toy_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.