Description Usage Arguments Value Examples
View source: R/get_genomic_annotations.R
merge overlaping genomic regions from multiple peak/bed files
1 | merge_GR(x)
|
x |
a character vector of bed file paths |
GRanges object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## load example data
chr21_data_table <- system.file('extdata/bw', 'ALPS_example_datatable.txt',
package = 'ALPS', mustWork = TRUE)
## attach path to bw_path and bed_path
d_path <- dirname(chr21_data_table)
chr21_data_table <- read.delim(chr21_data_table, header = TRUE)
chr21_data_table$bw_path <- paste0(d_path, '/', chr21_data_table$bw_path)
chr21_data_table$bed_path <- paste0(d_path, '/', chr21_data_table$bed_path)
x <- as.character(chr21_data_table$bed_path)
merge_GR(x = x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.