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 @T:SMRUCC.genomics.SequenceModel.FASTA.FastaSeq

type

the molecule type of the input sequence data, if this parameter is not specified(@F:SMRUCC.genomics.SequenceModel.SeqTypes.Unknown. [as SeqTypes]

env

[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

  • any kind

Examples


[Package bioseq.fasta version 1.0.0.0 Index]