annotateRegions | R Documentation |
Use this function to add metadata parallel to the 'regions' slot of a GenomicInteractions or GInteractions object.
annotateRegions(GIObject, name, dat) ## S4 method for signature 'GInteractions,character,vector' annotateRegions(GIObject, name, dat)
GIObject |
A GenomicInteractions or GInteractions object |
name |
Character. Will be used as a column name. |
dat |
Vector of the same length as the GInteractions object, containing data with which to annotate the object. |
invisible(1)
data(hic_example_data) chip <- runif(n = length(regions(hic_example_data)), max = 1000) annotateRegions(hic_example_data, 'chip', chip)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.