as.fasta {bioseq.fasta} R Documentation

Create a fasta sequence collection object from any given sequence collection.

Description

Usage

as.fasta(x);

Arguments

x

any type of sequence collection, which can be:

  1. a FastaFile object or a collection of the FastaSeq object;
  2. a multiple sequence alignment result(MSAOutput);
  3. a set of the SimpleSegment sequence segment object;
  4. a sequence motif object(SequenceMotif);
  5. a ncbi genbank feature object(Feature) for extract the nucleotide sequence data of the target feature site;
  6. a fastq sequence collection or a character vector of the raw sequence data.
env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a FastaFile sequence collection object that created from the given sequence data source;

this function returns a R# error message object if the input data source can not be cast to a fasta sequence collection.

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]