read_genome {biomartr} | R Documentation |
Import Genome Assembly as Biostrings or data.table object
Description
This function reads an organism specific genome stored in a defined file format.
Usage
read_genome(file, format = "fasta", obj.type = "Biostrings", ...)
Arguments
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. |
obj.type |
a character string specifying the object stype in which
the genomic sequence shall be represented. Either as
|
... |
additional arguments that are used by the
|
Details
This function takes a string specifying the path to the genome file
of interest as first argument (e.g. the path returned by
getGenome
).
Value
Either a Biostrings
or data.table
object.
Author(s)
Hajk-Georg Drost
See Also
Other genome:
getGenomeSet()
,
getGenome()
Other readers:
read_cds()
,
read_gff()
,
read_proteome()
,
read_rna()