readEpibed | R Documentation |
Read in and decode the RLE representation of the epibed format out of biscuit epiread
readEpibed(
epibed,
genome = NULL,
chr = NULL,
start = 1,
end = 2^28,
fragment_level = TRUE
)
epibed |
The path to the epibed file (must be bgzip and tabix indexed) |
genome |
What genome did this come from (e.g. 'hg19') (default: NULL) |
chr |
Which chromosome to retrieve (default: NULL) |
start |
The starting position for a region of interest (default: 1) |
end |
The end position for a region of interest (default: 2^28) |
fragment_level |
Whether to collapse reads to the fragment level (default: TRUE) |
A GRanges object
epibed.nome <- system.file("extdata", "hct116.nome.epibed.gz", package="biscuiteer")
epibed.bsseq <- system.file("extdata", "hct116.bsseq.epibed.gz", package="biscuiteer")
epibed.nome.gr <- readEpibed(epibed = epibed.nome, genome = "hg19", chr = "chr1")
epibed.bsseq.gr <- readEpibed(epibed = epibed.bsseq, genome = "hg19", chr = "chr1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.