overlap_matrix-methods: overlap_matrix method

Description Usage Arguments Value See Also

Description

overlap_matrix returns a matrix of zeros and ones indicating if the regions in the GRanges object overlap a region in the respective bedfile

Usage

1
2
3
4
5
overlap_matrix(object, bedfiles, ...)

## S4 method for signature 'SegvisData,character'
overlap_matrix(object, bedfiles,
  colnames = basename(bedfiles))

Arguments

object

a SegvisData object.

bedfiles

a character vector with the files in bed fortmat.

...

Any other additional parameters that overlap_matrix may need.

colnames

a character vector with the names of the bed files. The default value for this is basename(bedfiles).

Value

The overlap_matrix method returns an overlap matrix where each entry indicates if the row-region overlaps any of the intervals in the bedfiles.

See Also

SegvisData-class


welch16/Segvis documentation built on May 4, 2019, 4:18 a.m.