Learn R Programming

yCrypticRNAs (version 0.99.2)

as.annotationsSet: Convert a data.table into a geneAnnotation object.

Description

Create a geneAnnotation object containing the informations on chromosomes, start and end positions, strand, score and name of genes.

Usage

as.annotationsSet(data)

Arguments

data
A data.table with 6 columns corresponding to the genes' chromosome, start posittion, end position, gene name, gene score and gene strand.

Value

An object of class geneAnnotation with the following components:
chromosome
Gene chromosome.
start
Gene transcription start site.
end
Gene transcription termination site.
name
Gene name.
score
Gene score.
strand
Gene strand.

Examples

Run this code
data(annotations)
as.annotationsSet(annotations)

Run the code above in your browser using DataLab