Description Usage Arguments Details Value Examples
View source: R/pileupXenograft.R
Note that the default pileup params here do NOT distinguish strands in PDXs.
1 2 3 4 5 6 7 8 9 10 |
bam |
the BAM or object with a @bam slot |
sbp |
optional ScanBamParam object (autogenerated if missing) |
pup |
optional PileupParam object (autogenerated if missing) |
callIndels |
call indels? (This can reduce compute and RAM if FALSE.) |
minVAF |
minimum VAF to accept (default is 0.03, usual NuMT cutoff) |
minDepth |
minimum read depth to accept (default is 20 for sanity) |
verbose |
be verbose, as for profiling? (default is FALSE / quiet) |
... |
additional args to pass on to the pileup() function |
FIXME: add an iterator to create (human, mouse) MVRangesLists when running pileupXenograft on thousands of individual cells (as in PDX studies).
1 | a list of MVRanges (one human, one mouse)
|
1 2 3 4 5 6 | BAMdir <- system.file("extdata", "BAMs", package="MTseekerData")
addPath <- function(x) file.path(BAMdir, x)
pdxBAMs <- addPath(list.files(path=BAMdir, pattern="^PDX.*.bam$"))
names(pdxBAMs) <- sapply(strsplit(basename(pdxBAMs), "_"), `[`, 1)
mvrls <- lapply(pdxBAMs, pileupXenograft, verbose=TRUE)
vapply(mvrls, names, character(2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.