Aneufinder | R Documentation |
AneuFinder
packageThis function is an easy-to-use wrapper to bin the data, find copy-number-variations, locate breakpoints, plot genomewide heatmaps, distributions, profiles and karyograms.
Aneufinder(inputfolder, outputfolder, configfile = NULL, numCPU = 1,
reuse.existing.files = TRUE, binsizes = 1e+06, stepsizes = binsizes,
variable.width.reference = NULL, reads.per.bin = NULL,
pairedEndReads = FALSE, assembly = NULL, chromosomes = NULL,
remove.duplicate.reads = TRUE, min.mapq = 10, blacklist = NULL,
use.bamsignals = FALSE, reads.store = FALSE, correction.method = NULL,
GC.BSgenome = NULL, method = c("edivisive"), strandseq = FALSE,
R = 10, sig.lvl = 0.1, eps = 0.01, max.time = 60, max.iter = 5000,
num.trials = 15, states = c("zero-inflation", paste0(0:10, "-somy")),
confint = NULL, refine.breakpoints = FALSE, hotspot.bandwidth = NULL,
hotspot.pval = 0.05, cluster.plots = TRUE)
inputfolder |
Folder with either BAM or BED files. |
outputfolder |
Folder to output the results. If it does not exist it will be created. |
configfile |
A file specifying the parameters of this function (without |
numCPU |
The numbers of CPUs that are used. Should not be more than available on your machine. |
reuse.existing.files |
A logical indicating whether or not existing files in |
binsizes |
An integer vector with bin sizes. If more than one value is given, output files will be produced for each bin size. |
stepsizes |
A vector of step sizes the same length as |
variable.width.reference |
A BAM file that is used as reference to produce variable width bins. See |
reads.per.bin |
Approximate number of desired reads per bin. The bin size will be selected accordingly. Output files are produced for each value. |
pairedEndReads |
Set to |
assembly |
Please see |
chromosomes |
If only a subset of the chromosomes should be imported, specify them here. |
remove.duplicate.reads |
A logical indicating whether or not duplicate reads should be removed. |
min.mapq |
Minimum mapping quality when importing from BAM files. Set |
blacklist |
A |
use.bamsignals |
If |
reads.store |
Set |
correction.method |
Correction methods to be used for the binned read counts. Currently only |
GC.BSgenome |
A |
method |
Any combination of |
strandseq |
A logical indicating whether the data comes from Strand-seq experiments. If |
R |
method-edivisive: The maximum number of random permutations to use in each iteration of the permutation test (see |
sig.lvl |
method-edivisive: The level at which to sequentially test if a proposed change point is statistically significant (see |
eps |
method-HMM: Convergence threshold for the Baum-Welch algorithm. |
max.time |
method-HMM: The maximum running time in seconds for the Baum-Welch algorithm. If this time is reached, the Baum-Welch will terminate after the current iteration finishes. Set |
max.iter |
method-HMM: The maximum number of iterations for the Baum-Welch algorithm. Set |
num.trials |
method-HMM: The number of trials to find a fit where state |
states |
method-HMM: A subset or all of |
confint |
Desired confidence interval for breakpoints. Set |
refine.breakpoints |
A logical indicating whether breakpoints from the HMM should be refined with read-level information. |
hotspot.bandwidth |
A vector the same length as |
hotspot.pval |
P-value for breakpoint hotspot detection (see |
cluster.plots |
A logical indicating whether plots should be clustered by similarity. |
NULL
Aaron Taudt
## Not run:
## The following call produces plots and genome browser files for all BAM files in "my-data-folder"
Aneufinder(inputfolder="my-data-folder", outputfolder="my-output-folder")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.