View source: R/qsea.createSet.R
addNewSamples | R Documentation |
This function allows the qseaSet to be extended by new samples, provided in the sample table.
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
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.