Description Usage Arguments Value Examples
Reads a set of fasta files stored in folder
,
or a single fasta file
.
1 2 |
folder |
Path to directory containing .fasta files. |
file |
Path to a single .fasta file, or zipped file
(if latter, specify |
KOs |
An optional character vector of sequence annotations (e.g. KO) contained in the names of fasta files to be selectively read. |
zipped |
Logical, whether |
prepend.filenames |
Logical, whether to prepend filename(s)
to names in |
Returns a DNAStringSet
object.
1 2 3 4 5 6 | exampledir <- system.file("extdata", package = "coRdon")
files <- list.files(exampledir)
readSet(folder = exampledir)
readSet(folder = exampledir, KOs = "K02931")
pathtofile <- paste(exampledir, files[1], sep = "/")
readSet(file = pathtofile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.