read.fa | R Documentation |
Read a fasta file
read.fa(fileName, assumeSingleLine = FALSE, ...)
fileName |
name of file |
assumeSingleLine |
if TRUE don't process sequence lines. just assume they're one line per sequence |
... |
additional arguments to readLines |
data.frame with columns name and seq
file<-tempfile() x<-generateFasta(100,bases=c('A','C','T','G','\n','-')) write.fa(x$name,x$seq,file) y<-read.fa(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.