Description Usage Arguments Details Value Author(s) Examples
Read an organism specific genome stored in fasta/fastq file format.
1 | read.genome(file, format, ...)
|
file |
a character string specifying the path to the file storing the genome. |
format |
a character string specifying the file format used to store the genome, e.g. |
... |
additional arguments that are used by the |
The read.genome
function takes a string specifying the path to the genome file
of interest as first argument.
Genomes stored in fasta files can be downloaded from http://ensemblgenomes.org/info/genomes.
A data.frame
storing the gene id
in the first column, the corresponding sequence as string in the second column, and the sequence length in the third column.
Hajk-Georg Drost
1 2 3 4 5 | # reading a genome stored in a fasta file
Ath.genome <- read.genome(system.file('seqs/ortho_thal_cds.fasta', package = 'seqreadr'),
format = "fasta")
dplyr::glimpse(Ath.genome)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.