Description Usage Arguments Value
Adds a vector as a column in a GRanges object, assuming the data is in the correct order. This data can be anything describing the range elements, for instance a vector of colors. This is essentially a convienience wrapper around the elementMetadata() function from the GRanges package.
1 | grAddColumn(gr, name, vec)
|
gr |
The granges object to add to add a column to. |
name |
The name of the column when added |
vec |
The data. If not the same length as the GRanges object, will attempt to wrap values. If not an even multiple, will error. |
The granges object, with the appended column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.