makeGeneRepresentation: Compute a gene representation from annotation.

Description Usage Arguments Details Value Author(s) Examples

View source: R/annotation.R


Computing a gene representation from annotation using a variety of methods.


makeGeneRepresentation(annoData, type = c("UIgene", "Ugene", "ROCE",
"background"), = "ensembl_gene_id", = "ensembl_transcript_id", bind.columns, ignoreStrand = TRUE, verbose = getOption("verbose"))



A data frame which must contain the columns chr, start, end and strand which specifies annotation regions of interest, and optionally additional columns.


The type of gene representation, see details.

The column in annoData that holds the gene identifiers (only needed for certain types of representation).

The column in annoData that holds the transcript identifiers (only needed for certain types of representation).


A character vector of column names that will be kept in the return object. It is assumed (but not checked) that these values are constant for all regions in a gene.


Is strand ignored? Little testing has been done for the value 'TRUE'.


Want verbose output?


A union representation (Ugene) is simply the union of all bases of all transcripts of the gene, with bases belonging to other genes removed.

A union-intersection representation (UIgene) for a gene is defined as bases that are annotated as belonging to all transcripts of the gene, and not to any other gene.

Regions of constant expression (ROCE) are regions where one would assume that the expression is constant. They are best explained by an example: if transcript A goes from 1 to 4 and transcript B goes from 1 to 6 there are two ROCEs, one from 1 to 4 and one from 5 to 6. It is possible to define ROCEs independent of the gene concept, but in its current implementation regions belonging to more than one gene are removed.

Background is essentially the complement of the annotation.


A data.frame with rownames and columns chr, strand, start, end, and possibly additional columns.


James Bullard [email protected], Kasper Daniel Hansen [email protected]



Bioconductor-mirror/Genominator documentation built on June 1, 2017, 5:16 p.m.