inherit_group_function {profileplyr} | R Documentation

## Redundant code for inheriting grouping wrapped into subsetbyRangeOverlap() or subsetbyGeneListOverlap() functions

### Description

Redundant code for inheriting grouping wrapped into subsetbyRangeOverlap() or subsetbyGeneListOverlap() functions

### Usage

    inherit_group_function(object, rowGroupsInUse_input, type, separateDuplicated)

### Arguments

`object` | A profileplyr object
`rowGroupsInUse_input` | the inherited rowGroupsInUse
`type` | Either "GR" for subsetbyRangeOverlap() function or "GL" for subsetbyGeneListOverlap() function
`separateDuplicated` | A logical argument, if TRUE 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 profileplyr object

[Package profileplyr version 1.10.2 Index]