View source: R/supp_functions.R
calcOverlap | R Documentation |
This function calculates the length of each Genomic feature not occupied by peaks, and checks if the percentage of peaks is above a certain threshold. The lengths and boolean values are appended as columns to the provided dataframe
calcOverlap(df, tiles, peaks, genome, peak_occ_cutoff)
df |
dataframe to contain the lengths without peaks |
tiles |
GRanges tiles object |
genome |
genetic sequence information |
peak_off_cutoff |
Maximum percentage of peaks in a given feature |
dataframe containing the lengths of features without peaks and column of features above the peak cutoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.