Description Public fields Methods
An object representing a DR2S analysis.
mapInit<MapList>; the initial mapping of long reads to
reference.
lrpartition<PartList>; the partitioning of full-length mapped long reads into different haplotypes.
mapIter<MapList>; the mapping of A and B reads to consensus sequences produced in the previous step.
srpartition<PartList>; the partitioning of mapped short reads into different haplotypes.
mapFinal<MapList>; the mapping of A, B, and short reads to consensus sequences produced in the previous step.
remap<MapList>; the mapping of A, B, and short reads to consensus sequences produced in the previous step.
consensus<ConsList>; final consensus sequences for A and B.
new()Create a new DR2S object.
DR2S_$new(conf, createOutdir = TRUE)
confA DR2S configuration provided either by [createDR2SConf] or read from file by [readDR2SConf].
createOutdirSet up the output directory.
A new DR2S object.
cache()Store a DR2S object as an rds file.
DR2S_$cache(outname)
outname(optional) filename of the stored object.
Returns invisibly the DR2S object.
clear()Clear all the files pertaining to a DR2S mapping process and set up the whole process from scratch.
DR2S_$clear()
Returns invisibly the DR2S object.
cleanup()remove all bam and bai files.
DR2S_$cleanup()
Returns invisibly the DR2S object.
print()Print a DR2S object prettily
DR2S_$print()
Returns invisibly the DR2S object.
run_()Execute a given step in a DR2S pipeline.
DR2S_$run_(step)
stepA step in the DR2S pipeline
Called for side effect.
getConfig()DR2S_$getConfig(name = NULL)
setConfig()DR2S_$setConfig(name, value)
getDatadir()DR2S_$getDatadir()
getOutdir()DR2S_$getOutdir()
getMicrosatellite()DR2S_$getMicrosatellite()
getForceMapping()DR2S_$getForceMapping()
getThreshold()DR2S_$getThreshold()
getDistAlleles()DR2S_$getDistAlleles()
getIterations()DR2S_$getIterations()
getLrdMapper()DR2S_$getLrdMapper()
getLrdType()DR2S_$getLrdType()
getLrdDir()DR2S_$getLrdDir()
getLongreads()DR2S_$getLongreads()
getSrdMapper()DR2S_$getSrdMapper()
getSrdType()DR2S_$getSrdType()
getSrdDir()DR2S_$getSrdDir()
getShortreads()DR2S_$getShortreads()
getPipeline()DR2S_$getPipeline()
getOpts()DR2S_$getOpts(name = NULL)
getSampleId()DR2S_$getSampleId()
getLocus()DR2S_$getLocus()
getReference()DR2S_$getReference()
getPlatform()DR2S_$getPlatform()
getFormat()DR2S_$getFormat()
setFormat()DR2S_$setFormat(format)
getDetails()DR2S_$getDetails(name = NULL)
setDetails()DR2S_$setDetails(details)
getSampleDetails()DR2S_$getSampleDetails()
getStats()DR2S_$getStats(name = NULL)
setStats()DR2S_$setStats(name, value)
getLimits()DR2S_$getLimits()
setLimits()DR2S_$setLimits(lmts)
getHapTypes()DR2S_$getHapTypes()
setHapTypes()DR2S_$setHapTypes(x)
getRefPath()DR2S_$getRefPath()
setRefPath()DR2S_$setRefPath(refPath)
getHomozygous()DR2S_$getHomozygous()
setHomozygous()DR2S_$setHomozygous(homozygous)
getRefSeq()DR2S_$getRefSeq()
getPileup()DR2S_$getPileup(useSR = FALSE)
getSnpMatrix()DR2S_$getSnpMatrix()
getPartition()DR2S_$getPartition()
getHapList()DR2S_$getHapList(group)
getLatestRefPath()DR2S_$getLatestRefPath()
getLatestRef()DR2S_$getLatestRef()
getMapTag()DR2S_$getMapTag(iter = "init", group = NULL, ref = "LR")
getGroupPileup()DR2S_$getGroupPileup(group = NULL, ref = NULL, iteration = 0)
getLrdMapFun()DR2S_$getLrdMapFun()
getSrdMapFun()DR2S_$getSrdMapFun()
absPath()DR2S_$absPath(filename)
relPath()DR2S_$relPath(filepath)
hasMapInit()DR2S_$hasMapInit()
hasLrdPartition()DR2S_$hasLrdPartition()
hasHapList()DR2S_$hasHapList()
hasMapIter()DR2S_$hasMapIter()
hasMapFinal()DR2S_$hasMapFinal()
checkGetShortreads()DR2S_$checkGetShortreads()
hasShortreads()DR2S_$hasShortreads()
checkGetLongreads()DR2S_$checkGetLongreads()
hasLongreads()DR2S_$hasLongreads()
plotCoverage()DR2S_$plotCoverage( threshold, range = NULL, thin = 0.1, width = 1, label = "", drop.indels = FALSE, readtype = "LR" )
plotGroupCoverage()DR2S_$plotGroupCoverage( group = NULL, ref = NULL, iteration = "init", threshold = NULL, range = NULL, thin = 0.1, width = 1, label = "", drop.indels = FALSE )
plotBasecallFrequency()DR2S_$plotBasecallFrequency(threshold, label = "", drop.indels = FALSE)
plotGroupBasecallFrequency()DR2S_$plotGroupBasecallFrequency( group = NULL, ref = NULL, iteration = "init", threshold = NULL, label = "", drop.indels = FALSE )
plotPartitionHistogram()DR2S_$plotPartitionHistogram(label = "", limits = NULL)
plotPartitionTree()DR2S_$plotPartitionTree()
plotPartitionRadar()DR2S_$plotPartitionRadar()
polymorphicPositions()DR2S_$polymorphicPositions(threshold, useSR = FALSE)
plotMapInitSummary()DR2S_$plotMapInitSummary(thin = 0.2, width = 4, label = "")
plotPartitionSummary()DR2S_$plotPartitionSummary(label = "", limits = NULL)
plotMapIterSummary()DR2S_$plotMapIterSummary( thin = 0.2, width = 10, iteration = 0, drop.indels = TRUE )
plotMapFinalSummary()DR2S_$plotMapFinalSummary(readtype, thin = 0.2, width = 10)
plotRemapSummary()DR2S_$plotRemapSummary(readtype, thin = 0.2, width = 10)
plotSeqLogo()DR2S_$plotSeqLogo(ppos = NULL, pwm = NULL)
runMapInit()DR2S_$runMapInit(opts = list(), ...)
runPartitionLongreads()DR2S_$runPartitionLongreads()
runSplitLongreadsByHaplotype()DR2S_$runSplitLongreadsByHaplotype()
runExtractPartitionedLongreads()DR2S_$runExtractPartitionedLongreads()
runMapIter()DR2S_$runMapIter(opts = list(), ...)
runPartitionShortreads()DR2S_$runPartitionShortreads(opts = list(), ...)
runMapFinal()DR2S_$runMapFinal(opts = list(), ...)
runPipeline()DR2S_$runPipeline()
clone()The objects of this class are cloneable with this method.
DR2S_$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.