Description Usage Arguments Examples
Convert a fasta file into a data frame containing the decription of each sequence in the first column and the length of that sequence in the second column.
1 | seq_length_tbl(path, description = "^>", comment = "^;")
|
path |
The path to the fasta file. |
description |
A regular expression indicating which lines contain sequence descriptions. |
comment |
A regular expression indicating which lines contain comments. |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# Normal use
seq_length_tbl("path/to/file.fasta")
# Comments are lines where number sign is first character
seq_length_tbl("path/to/file.fasta", comment = "^#")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.