mass {bioseq.fasta} R Documentation

evaluate the molecule mass of the given sequence

Description

Usage

mass(seqs,
    type = Unknown);

Arguments

seqs

a fasta sequence collection for evaluate the molecule mass, which can be a FastaFile object, a collection of the FastaSeq object, or a character vector of the raw sequence data.

type

the molecule type of the input sequence data, if this parameter is not specified(SeqTypes.Unknown), then the molecule type will be evaluated from the input sequence data automatically: the most common sequence type of the input sequence collection will be used. [as SeqTypes]

env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a number value of the molecule mass if there is only one sequence in the input sequence collection, or a named list of the molecule mass value of each sequence if there are multiple sequence in the input sequence collection, the name of the list element is the fasta title of the corresponding sequence.

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]