sub_annot: Remove chromosomes in anotation absent from genome

Description Usage Arguments Value

View source: R/velocity.R

Description

Remove chromosomes in anotation absent from genome

Usage

1
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.


lambdamoses/BUStoolsR documentation built on June 9, 2021, 6:15 p.m.