knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of MolecularAnalyzeR is to checking correlation between gene expression and copy number variation for cohorts of patients analyzed within The Cancer Genome Atlas project.
According to Travis, tests are run for R 4.0.2, which exploits Bioconductor 3.12. ``` {r, eval = FALSE} $ Rscript -e 'sessionInfo()' R version 4.0.2 (2020-06-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.6 LTS
In my package, I am dependent on Bioconductor 3.14 with R 4.1.0. Thus, I cannot check my package with Travis. See other related issues: https://travis-ci.community/t/bioconductor-version-error/3332 <!-- badges: start --> [](https://travis-ci.com/kkolmus/MolecularAnalyzeR) <!-- badges: end --> [Logs](https://travis-ci.com/github/kkolmus/MolecularAnalyzeR/builds/231742122) ## Installation In order to install the MolecularAnalyzeR package, you should pre-install devtools. ``` {r, eval = FALSE} install.package("devtools") devtools::install_github("MolecularAnalyzeR")
library(MolecularAnalyzeR) listTCGAcohorts()
CNVdata <- downloadCNVdata(projectID = c("TCGA-READ", "TCGA-COAD"))
expData <- downloadExpData(projectID = c("TCGA-READ", "TCGA-COAD"))
normExpData <- normalizeExpData(expData = expData, method = "vst")
``` {r data, eval = FALSE} data_input <- prepareData( gene1 = "TP53", gene2 = "TSPAN6", CNVdata = CNVdata, normExpData = normExpData)
data(inputSLanalyzeR)
6. Run statistical analysis. This function looks for statistical difference in expression of gene 2 for copy number states of gene 1 (WT vs. loss state and WT vs. gain state). ``` {r stat, eval = FALSE} stat <- runGenotypeComparison( data_input, gene1 = "CDK11A", gene2 = "CFLAR", threshold = 10)
{r vis, eval = FALSE}
visualizeGenotypeComparison(data,
gene1 = "CDK11A",
gene2 = "CFLAR",
method = "vst",
threshold = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.