Description Usage Arguments Value
View source: R/otherFunctions.R
Extract common and specific peaks in narrowPeak format
1 2 3 4 5 | writeNarrowPeaksFromMyGRsAndAnnot(
myGRAndAttributes,
outputDirectory,
useOriginalNarrowPeak = F
)
|
myGRAndAttributes |
Should be the output of createMyGRs or createMyGRsUsingSimpleOverlap |
outputDirectory |
a path to a folder where will be written the narrowPeaks files. |
useOriginalNarrowPeak |
logical to specify if instead of the coordinates in myGRAndAttributes which are by default the summit +/-150bp. You want the original coordinates as in the input (default is F). |
Does not return anything but write 4 files into the 'outputDirectory': Ref_in_at_least_one_Set.narrowPeak or shared_by_all_Ref_and_at_least_one_Set.narrowPeak Ref_in_not_a_single_Set.narrowPeak or share_by_all_Ref_and_not_in_a_single_Set.narrowPeak share_by_all_Set_no_Ref.narrowPeak or share_by_all_Set_and_not_in_a_single_Ref.narrowPeak shared_by_all_Set_and_Ref.narrowPeak or shared_by_all_Set_and_at_least_one_Ref.narrowPeak
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.