Description Usage Arguments Value Author(s) References See Also Examples
A function to plot a spatial inconsistency for a given loci (bin).
1 | plotInc(i, neighborhoods, label = "fullName", size = 20, interactive = F)
|
i |
An integer giving the index of the loci (bin) for which the inconsistency graph should be plotted. |
neighborhoods |
The list of spatial inconsistencies detected by |
label |
A character vector for labeling the nodes, set to "fullName" by default. Can be one of three options: "name"" (node index), "fullName"" (chromosome name and genomic coordinates) and "chr" (chromosome name). If not one of the above options, then nodes are labelled by their "name" attribute. |
size |
The size of the nodes in the plot, set to 20 by default. See |
interactive |
A Boolean indicating whether the plot should be interactive or not. See |
If the chosen neighborhood is not NULL, it is be plotted according to user preferences (nodes are colored by their connected component and labelled based on user choice).
Yoli Shavit
Y. Shavit, F.K. Hamey, P. Lio', FisHiCal: an R package for iterative FISH-based calibration of Hi-C data, 2014 (submitted).
1 2 3 | data(spatialInc)
plotInc(1, spatialInc) # no plot since no spatial incosistency was detected
plotInc(167, spatialInc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.