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.


BUStools/BUSpaRse documentation built on March 3, 2024, 9:11 a.m.