Description Usage Arguments Value Author(s)
All broadPeak files are assumed to be nested in subdirectories named adter sample names. Based on rtracklayer::import.bed, but adds additional columns present only in broadPeak files.
1 2 | loadBroadPeaks(sample_dir, sample_names,
peaks_suffix = "_peaks.broadPeak", sub_dir = TRUE)
|
sample_dir |
Path to the directory containing the broadPeak files. |
sample_names |
Vector of sample names. |
peaks_suffix |
Suffix of the broadPeak files. |
sub_dir |
If TRUE, count files are nested in subfolders named after sample names, otherwise counts files are directly in sample_dir. |
List of GRanges objects corresponding to peak calls from each sample.
Kaur Alasoo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.