| readFasta | R Documentation |
Reads sequences data in fasta and create DnaSeq and RnaSeq
instances.
readFasta(infile)
infile |
'character(1)' with the name of the fasta file to read. |
This funtion reads DNA and RNA fasta files and generates valid
"DnaSeq" and "RnaSeq" instances.
an instance of DnaSeq or RnaSeq.
Laurent Gatto
GenericSeq, DnaSeq and
RnaSeq.
## 2 fasta files
f <- dir(system.file("extdata", package = "sequences"),
pattern = "fasta", full.names = TRUE)
f
## read first fasta file
x <- readFasta(f[1])
x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.