makeTranscript {GenomeGraphs} | R Documentation

## Creates an object of class Transcript

### Description

Creates an object of class Transcript. This represents all known transcript structures in Ensembl.

### Usage

    makeTranscript(id, type, biomart, dp = NULL)

### Arguments

`id` | An identifier used to specify of which gene/transcript the transcript structures should be retrieved
`type` | The type of identifiers used, examples are ensembl\_gene\_id, hgnc\_symbol,entrezgene. See listAttributes function of thebiomaRt package for more info
`biomart` | Mart object, created by the useMart function of biomaRt
`dp` | object of class DisplayPars, determines the display of features on the plot

### Value

An object of class Transcript

### Author(s)

Steffen Durinck and Jim Bullard

### References

~put references to the literature/web site here ~

### See Also

`gdPlot`

### Examples

    ##---- Should be DIRECTLY executable !! ----
    ##-- ==>  Define data, use random,
    ##--	or do  help(data=index)  for the standard data sets.

    ## The function is currently defined as
    function (id, type, biomart, dp = NULL)
    {
        if (missing(id))
            stop("Need to specify a gene identifier for creating a Transcript")
        pt <- getClass("Transcript")@prototype
        if (is.null(dp))
            dp <- pt@dp
        if (missing(type))
            type = pt@type
        new("Transcript", id = id, type = type, biomart = biomart,
            dp = dp)
      }

[Package GenomeGraphs version 1.44.0 Index]