checkBiscuitBED: inspect Biscuit BED and/or VCF output to make sure all is as...

Description Usage Arguments Value See Also

Description

A BED checker for Biscuit cg/ch output (BED-like format, 2 or 3 cols/sample). By default, files with over 50 million loci will be processed iteratively, since data.table tends to run into problems with .gzipped joint CpH files. This function absolutely assumes that BED files are tabixed. No exceptions!

Usage

1
2
3
checkBiscuitBED(BEDfile, VCFfile = NULL, sampleNames = NULL,
  chunkSize = 5e+07, merged = NULL, hdf5 = FALSE, sparse = TRUE,
  how = c("data.table", "readr"), chr = NULL)

Arguments

BEDfile

a BED-like file (compressed and tabixed, maybe w/header)

VCFfile

a VCF file (compressed and tabixed; only needs the header)

sampleNames

if NULL create; if vector assign; if data.frame make pData

chunkSize

for files > yieldSize lines long, chunk the file (5e7)

merged

boolean; is this merged CpG data? (NULL; guess if merged)

hdf5

boolean; use HDF5 arrays for backing of the data? (FALSE)

sparse

boolean; use sparse Matrix objects for the data? (TRUE)

how

how to load the data? "data.table" (default) or "readr"

chr

load a specific chromosome (to rbind() later)? (NULL)

Value

1
       parameters for makeBSseq or makeBSseq_hdf5

See Also

1

ttriche/biscuitEater documentation built on May 15, 2019, 4:18 p.m.