sub_annot {BUSpaRse} | R Documentation

## Remove chromosomes in anotation absent from genome

### Description

Remove chromosomes in anotation absent from genome

### Usage

    sub_annot(chrs_use, annot)

### Arguments

`chrs_use` | Character vector of names of chromosomes present in both the annotation and the genome.
`annot` | Either a `GRanges` object or a `TxDb` object for gene annotation.

### Value

A subsetted genome annotation of the same type ofo the input genome annotation.

[Package BUSpaRse version 1.4.2 Index]