unionize | R Documentation |
Wrapper for the combine(bsseq1, ...) method in bsseq
unionize(bs1, ...)
bs1 |
A bsseq object |
... |
One or more bsseq objects to combine with bs1 |
Takes provided bsseq objects, the union of their GRanges, fills out the sites not in the union with 0M/0Cov, and returns the even-sparser bsseq holding all of them.
A larger and more sparse bsseq object
shuf_bed <- system.file("extdata", "MCF7_Cunha_chr11p15_shuffled.bed.gz",
package="biscuiteer")
orig_bed <- system.file("extdata", "MCF7_Cunha_chr11p15.bed.gz",
package="biscuiteer")
shuf_vcf <- system.file("extdata",
"MCF7_Cunha_shuffled_header_only.vcf.gz",
package="biscuiteer")
orig_vcf <- system.file("extdata",
"MCF7_Cunha_header_only.vcf.gz",
package="biscuiteer")
bisc1 <- readBiscuit(BEDfile = shuf_bed, VCFfile = shuf_vcf,
merged = FALSE)
bisc2 <- readBiscuit(BEDfile = orig_bed, VCFfile = orig_vcf,
merged = FALSE)
comb <- unionize(bisc1, bisc2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.