Last data update: 2014.03.03
|
R: Convert a data.table into a geneAnnotation object.
as.annotationsSet | R Documentation |
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
data(annotations)
as.annotationsSet(annotations)
Results
|