YoannPa / methview.qc

HM450.QCView allows you to generate quality control plots from your Human Methylation 450K dataset.
GNU General Public License v3.0
4 stars 0 forks source link

Visualize quality control data from methylation array dataset with methview.qc

GitHub repo size GitHub issues GitHub closed issues

methview.qc allows you to generate quality control plots from your methylation array dataset.

Author: PAGEAUD Y.1
Contributors: RATHGEBER A.1
1- DKFZ - Division of Applied Bioinformatics, Germany.
How to cite: Pageaud Y. et al., Visualize quality control data from methylation array dataset with methview.qc

GitHub R package version

GitHub last commit
GitHub

Content

Currently the package methview.qc contains 23 functions:

Prerequisites

Install Bioconductor dependencies

In R do:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install(pkgs = c("RnBeads", "RnBeads.hg19", "minfiData", "minfiDataEPIC", "IlluminaDataTestFiles"))

Install CRAN dependencies

In R do:

install.packages(c('ggplot2', 'data.table', 'parallel', 'RColorBrewer', 'grDevices'))

Install the BiocompR package

In R do:

devtools::install_github("YoannPa/BiocompR")

Installing Methview.qc

In R do:

devtools::install_github("YoannPa/methview.qc")

Problems ? / I need help !

For any questions related to bugs please check the section "Known Issues" available below.
If the issue you experience is not adressed in the known issues please check if an existing issue adresses your point here. If not, create a new issue here.

Known Issues

❎ Error: C++14 standard requested but CXX14 is not defined
In CentOS Linux release 7.4 some users experienced this error happening during the installation of methview.qc. The error message is raised during installation of the sparseMatrixStats package.
To fix this issue proceed as following:

  1. Go to your personnal Linux directory:
    cd ~/
  2. Create directory .R/ and the file .R/Makevars
    mkdir .R
    nano .R/Makevars
  3. In the opened file .R/Makevars paste the following line:
    CXX14 = g++ -std=c++1y -Wno-unused-variable -Wno-unused-function -fPIC
  4. Save with Ctrl + O and close the file with Ctrl + X.
  5. Restart your R session and try again to install methview.qc:
    devtools::install()

    Many thanks to @Lena-Vo who provided this solution.

❎ Error: `row.names<-.data.frame`(`tmp`, value = value) : invalid 'row.names' length

`row.names<-.data.frame`(`*tmp*`, value = value) : 
  invalid 'row.names' length

This error can arise from Bioconductor packages incompatibilities. Incriminated packages are dependencies of methview.qc.
In order to fix this issue it is recommended to run the following command:

BiocManager::valid()

Running this command allows you to list Bioconductor packages that are either "out-of-date" or "too new" regarding your current installation.
Among logs returned, you will be offered to "create a valid installation with " a dedicated Biocmanager::install command.
Using the command usually fix packages incompatibilities, and solve the issue.
If you still have this error after reinstalling these packages, feel free to create an issue.

Development & Feature requests

If you wish to contribute to the development of this package, or if you would like me to add a new feature that would be useful in Methview.qc, please write me at y.pageaud@dkfz.de.

References

  1. Assenov, Y. et al. Comprehensive analysis of DNA methylation data with RnBeads. Nature Methods 11, 1138–1140 (2014).
  2. Pageaud Y. et al., BiocompR - Advanced visualizations for data comparison.

Licence

The repository methview.qc is currently under the GPL-3.0 licence.