takes {bioseq.fasta} R Documentation

takes the sequence subset from the given sequence collection by a set of

Description

the sequence id

Usage

takes(x, gene.ids);

Arguments

x

a fasta sequence collection for make the subset, which can be a FastaFile object, a collection of the @T:SMRUCC.genomics.SequenceModel.FASTA.FastaSeq

gene.ids

a character vector of the sequence id for takes the sequence subset, the sequence id is the first token of the fasta headers title text, which is splitted by the space, |, (

env

[as Environment]

Details

Authors

seqtoolkit

Value

a vector of the FastaSeq sequence object that its sequence id is in the given id set;

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

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]