Description Usage Arguments Details Value Author(s)
View source: R/BED_functions.R
This function cleans (when necessary) a BED file by detecting and merging overlapped regions and sorting by chr > start > end.
1 2 | EaCoN.BedCheck(bed.file = NULL, genome.pkg = "BSgenome.Hsapiens.UCSC.hg19",
out.dir = getwd(), return.data = FALSE)
|
bed.file |
BED File corresponding to the captured genomic regions in the WES experiment (usually given by the manufacturer. |
genome.pkg |
Name of the BSgenome package corresponding to the genome used to map the BAM files. |
out.dir |
Output directory. |
return.data |
Return the checked / cleaned BED as a data.frame (and still write it as a BED file). |
Only genomes available in the chomosomes
data package are compatible with this function.
Checked / cleaned BED is written in out.dir
, and returned as a data.frame
if return.data
is set to TRUE
.
Bastien Job
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.