read_rna: Import RNA as Biostrings or data.table object

View source: R/read_rna.R

read_rnaR Documentation

Import RNA as Biostrings or data.table object

Description

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

Usage

read_rna(file, format = "fasta", obj.type = "Biostrings", ...)

Arguments

file

a character string specifying the path to the file storing the RNA.

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 read.fasta.

Details

This function takes a string specifying the path to the RNA file of interest as first argument. It is possible to read in different proteome file standards such as fasta or genebank.

Value

A data.table storing the gene id in the first column and the corresponding sequence as string in the second column.

Author(s)

Hajk-Georg Drost

See Also

Other rna: getRNASet(), getRNA()

Other readers: read_cds(), read_genome(), read_gff(), read_proteome()


HajkD/biomartr documentation built on Dec. 9, 2023, 7:25 p.m.