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.


BUSpaRse documentation built on March 3, 2021, 2:01 a.m.