Description Usage Arguments Value See Also Examples
Uses a .gff file to create a GRanges of labels which can then
be plotted with the label_data
argument of many functions in this
package such as gmovizInitialise
,
insertionDiagram
or featureDiagram
.
1 2 | getLabels(gff_file, colour_code = TRUE,
colours = bright_colours_opaque)
|
gff_file |
Location of the gff file to read in. |
colour_code |
If |
colours |
A character vector of colours to be used to colour code
the labels (if |
A GRanges containing the gene label data. See
gmovizInitialise
for a detailed description of the format.
getFeatures
for a function which reads the entries
of a .gff file into 'features' rather than labels. Also
gmovizInitialise
, insertionDiagram
and
featureDiagram
for functions which can plot this data.
1 2 3 4 5 6 7 8 | ## example .gff
path <- system.file('extdata', 'example.gff3', package='gmoviz')
## colour coded
getLabels(path)
## not colour coded (all black)
getLabels(path, colour_code=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.