writeNarrowPeaksFromMyGRsAndAnnot: Extract common and specific peaks in narrowPeak format

Description Usage Arguments Value

View source: R/otherFunctions.R

Description

Extract common and specific peaks in narrowPeak format

Usage

1
2
3
4
5
writeNarrowPeaksFromMyGRsAndAnnot(
  myGRAndAttributes,
  outputDirectory,
  useOriginalNarrowPeak = F
)

Arguments

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).

Value

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


lldelisle/analysePeaks documentation built on July 10, 2021, 1:02 p.m.