| seq_formula {bioseq.fasta} |
R Documentation |
evaluate the chemical formula of the given sequence data
Description
Usage
seq_formula(seqs,
type = Unknown);
Arguments
seqs
a fasta sequence collection for evaluate the chemical formula, 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 character value of the chemical formula if there is only one sequence in the input sequence collection, or a named list of the chemical formula 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]