Description Usage Arguments Details Value Utility methods Annotation methods Visualization methods Examples
Usually an MVRangesList will be created by callMT.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | MVRangesList(..., bamFiles = NULL, coverageRles = NULL, verbose = FALSE)
## S4 method for signature 'MVRangesList'
genomeCoverage(x)
## S4 method for signature 'MVRangesList'
genes(x)
## S4 method for signature 'MVRangesList'
snpCall(object)
## S4 method for signature 'MVRangesList'
getAnnotations(annotations)
## S4 method for signature 'MVRangesList'
encoding(x)
## S4 method for signature 'MVRangesList'
coverage(x)
## S4 method for signature 'MVRangesList,missing,missing,missing'
predictCoding(query, subject, seqSource, varAllele, ...)
## S4 method for signature 'MVRangesList'
show(object)
## S4 method for signature 'MVRangesList'
filt(x)
## S4 method for signature 'MVRangesList'
granges(x, filterLowQual = TRUE)
## S4 method for signature 'MVRangesList,missing,missing'
summarizeVariants(query, filterLowQual = TRUE, ...)
## S4 method for signature 'MVRangesList'
genome(x)
## S4 method for signature 'MVRangesList,missing,missing'
locateVariants(query, filterLowQual = TRUE, ...)
## S4 method for signature 'MVRangesList,ANY'
plot(x, y, ...)
## S4 method for signature 'MVRangesList'
consensusString(x, ...)
|
... |
miscellaneous args, passed through |
bamFiles |
(Optional) BAM filenames for each MVRanges element |
coverageRles |
(Optional) coverage Rles for each MVRanges element |
verbose |
Be verbose? (default is FALSE) |
x |
an MVRangesList (for some methods) |
object |
an MVRangesList (for other methods) |
annotations |
an MVRangesList (for getAnnotations) |
query |
an MVRangesList (for predictCoding) |
subject |
a GRanges, usually |
seqSource |
a BSgenome, usually |
varAllele |
variant alleles |
filterLowQual |
opt. for |
y |
another MVRangesList |
If the elements were generated by pileupMT(), a coverageRles DataFrame will be generated and placed into the metadata() list for the result. Similarly, if an element named 'bam' is located in the metadata of the supplied arguments, it will be combined into a vector named bamFiles.
1 | the MVRangesList
|
1 | depends on the method invoked.
|
genomeCoverage returns estimated mitochondrial read coverage depth
coverage returns an RleList of coverage for each sample's chrM
filt removes variants where PASS != TRUE for each element
genes returns an annotated GRanges of mitochondrial genes
metadata get or set elements in the metadata() of an MVRL
getAnnotations returns a GRanges of annotated mitochondrial features
genome returns the genome (or, perhaps, genomes) in an MVRL
encoding returns mutations in coding regions for each element
granges returns mildly annotated aggregates of variant sites
snpCall retrieves single nucleotide variant polymorphisms
locateVariants locates variants within genes, tRNA, rRNA, or D-loop
summarizeVariants attempts mass functional annotation of variant sites
consensusString creates consensus genotypes from rCRS for eg Haplogrep
plot creates circular plot of mitochondrial variant calls
1 2 3 4 | library(MTseekerData)
BAMdir <- system.file("extdata", "BAMs", package="MTseekerData")
pdxBAMs <- paste0(BAMdir, "/", list.files(BAMdir, pattern="^PDX.*.bam$"))
(mvrl <- pileupXenograft(pdxBAMs[1]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.