contains {ballgown} | R Documentation

## determine if one set of GRanges fully contains any of another set of GRanges

### Description

determine if one set of GRanges fully contains any of another set of GRanges

### Usage

    contains(transcripts, cds)

### Arguments

`transcripts` | `GRangesList` object (assume for now that it represents transcripts)
`cds` | `GRangesList` object (assume for now that it represents sets of coding sequences)

### Details

If `gown` is a `ballgown` object, `transcripts` can be `structure(gown)$trans` (or any subset).

### Value

vector with length equal to `length(transcripts)`, where each entry is `TRUE` if the corresponding transcript contains a coding sequence (i.e., is a superset of at least one entry of `cds`).

### Author(s)

Alyssa Frazee

[Package ballgown version 2.12.0 Index]