sub_annot: Remove chromosomes in anotation absent from genome

View source: R/velocity.R

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


lambdamoses/BUStoolsR documentation built on Jan. 31, 2024, 5:11 a.m.