Description Usage Arguments Value Author(s) Examples
View source: R/qsea.createSet.R
This function allows the qseaSet to be extended by new samples, provided in the sample table.
1 | addNewSamples(qs, sampleTable, force=FALSE, parallel=FALSE)
|
qs |
The qseaSet object to be extended |
sampleTable |
data.frame, describing the samples. Must be in same format as getSampleTable(qs) |
force |
force adding of new samples, even if existing CNV or enrichment information requires recomputation |
parallel |
parallel processing of alignment files |
An object of class qseaSet, including the new samples.
Mathias Lienhard
1 2 3 4 5 6 7 8 9 | library("BSgenome.Hsapiens.UCSC.hg19")
data(samplesNSCLC, package="MEDIPSData")
path=system.file("extdata", package="MEDIPSData")
samples_NSCLC$file_name=paste0(path,"/",samples_NSCLC$file_name )
originalQseaSet=createQseaSet(sampleTable=samples_NSCLC[1:4,],
BSgenome="BSgenome.Hsapiens.UCSC.hg19", chr.select="chr22",
window_size=500)
originalQseaSet=addCoverage(originalQseaSet, uniquePos=TRUE, paired=TRUE)
qseaSet=addNewSamples(originalQseaSet, samples_NSCLC)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.