View source: R/plotSummaryStats.R
categoriseInteractions | R Documentation |
Get the numbers of interaction types existing in your data
categoriseInteractions(GIObject, node.classes = NULL, viewpoints = NULL)
GIObject |
A GInteractions object |
node.classes |
Optional. All node.classes to include in the analysis. Default: all node classes. |
viewpoints |
Optional. If set will only consider interactions where at least one anchor is of this node class. Default: all classes in node.classes. |
A data.frame.
library('GenomicRanges') data(hic_example_data) data(mm9_refseq_promoters) mm9_refseq_grl = split(mm9_refseq_promoters, mm9_refseq_promoters$id) annotateInteractions(hic_example_data, list(promoter=mm9_refseq_grl)) categoriseInteractions(hic_example_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.