QDNAseqmod is a standalone package: QDNAseq does not need to be installed.
install.packages(c("BiocManager", "remotes"))
BiocManager::install("markowetzlab/QDNAseqmod")
library(QDNAseqmod)
getBinAnnotations() downloads the pre-built hg19 bin annotations, or reads
them from a local directory via path=. Avoid installing the QDNAseq.hg19
annotation package, as it depends on QDNAseq. Do not load QDNAseq and
QDNAseqmod in the same session; they define functions and classes with the
same names.
Typical workflow: readCountsFiltered<-applyFilters(readCounts,residual=TRUE,blacklist=TRUE)
readCountsFiltered <- estimateCorrection(readCountsFiltered)
copyNumbers <- correctBins(readCountsFiltered)
assayDataElement(copyNumbers,"copynumber")<-sweep(assayDataElement(copyNumbers,"copynumber"),2,apply(assayDataElement(readCountsFiltered,"fit"),2, median,na.rm=T),FUN='*')
copyNumbersSmooth <- smoothOutlierBins(copyNumbers)
copyNumbersSegmented <- segmentBins(copyNumbersSmooth,transformFun="sqrt")
This repository contains source code for the R/Bioconductor package QDNAseq. For a description, please see this article, and for usage, the vignette from Bioconductor development version or the latest release
To cite QDNAseq, please use:
Scheinin I, Sie D, Bengtsson H, van de Wiel MA, Olshen AB, van Thuijl HF, van
Essen HF, Eijk PP, Rustenburg F, Meijer GA, Reijneveld JC, Wesseling P, Pinkel
D, Albertson DG and Ylstra B (2014) DNA copy number analysis of fresh and
formalin-fixed specimens by shallow whole-genome sequencing with identification
and exclusion of problematic regions in the genome assembly. Genome
Research 24: 2022-2032
