getpos: getpos

View source: R/getpos.R

getposR Documentation

getpos

Description

This function shows the position slot from a DNAStringSet or an AAStringSet metadata information.

Usage

getpos(seq)

Arguments

seq

DNAStringSet or AAStringSet [mandatory]

Value

GenomicRanges information from metadata

Author(s)

Kristian K Ullrich

See Also

addpop2string

Examples

## load example sequence data
data(iupac, package="MSA2dist")
## add position
iupac <- iupac |> addpos2string(chrom="chr1", start=1, end=1000)
#(iupac |> slot("metadata"))$GRanges
iupac |> getpos()

kullrich/MSA2dist documentation built on Nov. 14, 2024, 5:39 p.m.