trim_seqnames {InPAS} | R Documentation |
Filter the sequence names from a BSgenome object so that only chromosome-level seqnames are kept
trim_seqnames(genome, removeScaffolds = FALSE)
genome |
An object of BSgenome::BSgenome |
removeScaffolds |
A logical(1) vector, whether the scaffolds should be
removed from the genome If you use a TxDb containing alternative
scaffolds, you'd better to remove the scaffolds. To make things easy, we
suggest users creating a BSgenome::BSgenome instance from the
reference genome used for read alignment. For details, see the
documentation of |
An character vector containing filtered seqnames
Jianhong Ou, Haibo Liu