subset_GR_GL_common_top: Redundant code wrapped into subsetbyRangeOverlap() or...

subset_GR_GL_common_topR Documentation

Redundant code wrapped into subsetbyRangeOverlap() or subsetbyGeneListOverlap() functions

Description

Redundant code wrapped into subsetbyRangeOverlap() or subsetbyGeneListOverlap() functions

Usage

subset_GR_GL_common_top(object, overlap, input_names, type, separateDuplicated)

Arguments

object

A profileplyr object

overlap

hits object from subsetByOverlap function

input_names

names of either the gene list of the granges that go into function

type

Either "GR" for subsetbyRangeOverlap() function or "GL" for subsetbyGeneListOverlap() function

separateDuplicated

A logical argument, if TRUE (default) then regions that overlap multiple inputs to 'GRanges' argument will be separated and made into their own group. All possible combinations of region overlaps will be tested, so it is not recommended to have more than 3 groups if this option is TRUE. If FALSE, then regions that overlap each individual 'GRanges' input will be in the output, and if one region overlaps multiple 'GRanges' inputs, then it will be duplicated in the output and will show up in the section for each group.

Details

tbd

Value

A list of profileplyr objects


RockefellerUniversity/profileplyr documentation built on Jan. 28, 2023, 10:09 a.m.