unionize: Smoosh BSseq objects together without losing information.

Description Usage Arguments Value

Description

take a bunch of bsseq objects, take the union of their granges(), pad out un-covered sites with 0M/0Cov (i.e., ./. in a sparse Matrix), and return the now-even-sparser bsseq holding all of them. All conditions governing cbind(bsseq1, bsseq2) also apply to unionize().

Usage

1
unionize(bs1, ..., parallel = FALSE, onlyChrs = NULL)

Arguments

bs1

a bsseq object (return unaltered if length(list(...)) == 0)

...

one or more bsseq objects to combine with the first one

parallel

split the bsseq objects by chrom and parallelize? (FALSE)

onlyChrs

retain a specific subset of chromosomes? (NULL; keep all)

Value

1
   a larger and more sparse bsseq object

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