Description Usage Arguments Details Value See Also Examples
View source: R/checkBiscuitBED.R
A BED checker for Biscuit CpG/CpH output (BED-like format with 2 or 3 columns per sample). By default, files with more than 50 million loci will be processed iteratively, since data.table tends to run into problems with gzipped joint CpH files.
1 2 3 4 5 6 7 8 9 10 11 |
BEDfile |
A BED-like file - must be compressed and tabix'ed |
VCFfile |
A VCF file - must be compressed and tabix'ed. Only the header information is needed. |
merged |
Is this merged CpG data? |
sampleNames |
Names of samples - NULL: create names, vector: assign names, data.frame: make pData (DEFAULT: NULL) |
chunkSize |
For files longer than |
hdf5 |
Use HDF5 arrays for backing the data? Using HDF5-backed arrays stores the data in a HDF5 file on disk, rather than loading entire object into memory. This allows for analyses to be done on memory-limited systems at the small cost of slightly reduced return times. (DEFAULT: FALSE) |
sparse |
Use sparse Matrix objects for the data? If TRUE, use a Matrix object for sparse matrices (matrices with many zeroes in them) (DEFAULT: TRUE) |
how |
How to load the data - "data.table" or "readr"? (DEFAULT: data.table) |
chr |
Load a specific chromosome to rbind() later? (DEFAULT: NULL) |
Input BED and VCF files must be tabix'ed. No exceptions!
1 | Parameters to be supplied to makeBSseq
|
readBiscuit
1 2 3 4 5 6 | orig_bed <- system.file("extdata", "MCF7_Cunha_chr11p15.bed.gz",
package="biscuiteer")
orig_vcf <- system.file("extdata", "MCF7_Cunha_header_only.vcf.gz",
package="biscuiteer")
params <- checkBiscuitBED(BEDfile = orig_bed, VCFfile = orig_vcf,
merged = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.