Description Usage Arguments Value See Also Examples
Read Multiple Sequences from a FASTA file.
1 |
filename |
The name of the input file containing the sequences. File should be in FASTA format. |
pointer.only |
If |
MS object containing sequences read from file
ms
for further description of MS objects and
pointer.only option.
1 2 3 4 5 6 7 8 9 10 11 | require("rtfbs")
exampleArchive <- system.file("extdata", "NRSF.zip", package="rtfbs")
seqFile <- "input.fas"
unzip(exampleArchive, seqFile)
# Read in FASTA file "input.fas" from the examples into an
# MS (multiple sequences) object
seqs <- read.ms(seqFile)
# Print the number of sequences in the MS object and whether
# stored in C or R
print(seqs)
unlink("input.fas")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.