Description Usage Arguments Value Examples
Only works for .narrowPeak or .broadPeak file formats.
1 | import_peaks(filename, genome = NULL, keep_standard_chromosomes = TRUE)
|
filename |
Path to the peak file. |
genome |
Add seqinfo from genome (see ?fetchExtendedChromInfoFromUCSC for the list of available genomes). Value must be NULL or a character string (i.e.: "hg38"). |
keep_standard_chromosomes |
Remove alternative chromosomes? (Default: TRUE) |
A GRanges corresponding the regions in the peak file.
1 2 | peaks_file <- get_demo_peaks_file()
peaks <- import_peaks(peaks_file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.