get.seqs: Quickly retrieve the sequences of a 'Biostrings' object

View source: R/get.seqs.R

get.seqsR Documentation

Quickly retrieve the sequences of a Biostrings object

Description

Helper function to retrieve the sequences of a Biostrings object.

Usage

get.seqs(object, type = "DNA")

Arguments

object

a Biostrings object.

type

either type = "DNA" or type = "AA".

Author(s)

Hajk-Georg Drost

Examples

# read example sequences
seqs <- system.file("nt.fa",package = "LTRpred")
input.seqs <- Biostrings::readDNAStringSet(seqs)

# retrieve sequences of Biostrings object
head(get.seqs(input.seqs))

HajkD/LTRpred documentation built on April 22, 2022, 4:35 p.m.