fasta.headers {bioseq.fasta} R Documentation

get/set the fasta headers title

Description

Usage

fasta.headers(fa,
    headers = NULL);

Arguments

fa

a FastaSeq sequence object for get or set the headers title data. [as FastaSeq]

headers

a character vector of the new fasta headers data for overwrite the headers data of the given sequence object. If this parameter is not specified(or is an empty vector), then the headers data of the given sequence object will not be modified, and the current headers data will be returned. [as string]

Details

this api can be used as a property setter in R# environment: the headers data of the given fasta sequence object can be overwritten via the value assign syntax:

 fasta.headers(seq) <- c("seq_id", "description");

Authors

seqtoolkit

Value

a character vector of the fasta headers title data of the given sequence object.

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]