scan_format: Format a set of GRanges objects for geneRxCluster

Description Usage Arguments Details Author(s) Examples

View source: R/scan_format.R

Description

Format a set of GRanges objects for geneRxCluster

Usage

1
scan_format(query, subject, grouping = NULL)

Arguments

query

GRanges object consistent with integration sites, will be associated with grp = 0.

subject

GRanges object consistent with integration sites, will be associated with grp = 1.

grouping

character name of metadata column in GRanges object to be used for defining groups. Groups will be made unique independently, meaning if the same event is observed in two different groups, they are both kept, but if they occur in the same group, they will be made one.

Details

Formats a GRanges object for use with the geneRxCluster functions, specifically the scan statistics of gRxCluster.

Author(s)

Christopher Nobles, Ph.D.

Examples

1
2
3
gr1 <- gintools:::generate_test_granges()
gr2 <- gintools:::generate_test_granges()
scan_format(gr1, gr2)

cnobles/gintools documentation built on Aug. 22, 2019, 10:36 a.m.