read_genome: Import Genome Assembly as Biostrings or data.table object

Description Usage Arguments Details Value Author(s) See Also

View source: R/read_genome.R

Description

This function reads an organism specific genome stored in a defined file format.

Usage

1
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. format = "fasta" (default) or format = "gbk".

obj.type

a character string specifying the object stype in which the genomic sequence shall be represented. Either as obj.type = "Biostrings" (default) or as obj.type = "data.table".

...

additional arguments that are used by the read.fasta function.

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

getGenome, read_proteome, read_cds, read_gff, read_rna


biomartr documentation built on July 2, 2018, 1:02 a.m.