annot_circular {BUSpaRse} | R Documentation

## Transfer information about circular chromosomes between genome and annotation

### Description

Internal use, called after calling `subset_annot`.

### Usage

    annot_circular(Genome, annot)

### Arguments

`Genome` | Either a `BSgenome` or a `XStringSet` object of genomic sequences, where the intronic sequences will be extracted from. Use `genomeStyles` to check which styles are supported for your organism of interest; supported styles can be interconverted. If the style in your genome or annotation is not supported, then the style of chromosome names in the genome and annotation should be manually set to be consistent.
`annot` | Genome annotation, an object of a class with a `seqlevels` method, such as `GRanges`, `TxDb`, and `EnsDb`.

### Value

If neither genome nor annotation indicates which chromosome is circular, then the input will be returned unchanged. If only one of genome and annotation has such information, then it will be transferred to the one that does not. If both do have such information, the information from the genome will be transferred to the annotation if they're different.

[Package BUSpaRse version 1.6.1 Index]