Function generate_report
produces a pdf report containing information about functionalities of package MLExpResso.
generate_report(data.m, data.e, condition.m, condition.e, test.m, test.e, genes)
data.m | Data frame containing information for methylation. |
---|---|
data.e | Data frame containing information for expression. |
condition.m | Condition for methylation. |
condition.e | Condition for expression. |
test.m | Test results for methylation. |
test.e | Test results for expression. |
genes | The name of the gene or vector of genes names we want to visualise. |
PDF with report containing information about MLExpResso package.
# NOT RUN { library(MLExpRessoData) cond_met <- ifelse(BRCA_met$SUBTYPE == "LumA","LumA","other") cond_exp <- ifelse(BRCA_exp$SUBTYPE == "LumA","LumA","other") BRCA_methylation_gene <- aggregate_probes(BRCA_met, keep = "SUBTYPE") test1 <- calculate_test(BRCA_exp[,-1], condition_exp, test = "lrt") test2 <- calculate_test(BRCA_methylation_gene[,-1], condition_met, test = "ttest") data_met <- BRCA_met data_exp <- BRCA_exp report <- generate_report(data_exp, data_met, cond_exp, cond_met, test1, test2, "BRCA2") # }