plotBitmapCC | R Documentation |
Plot a bitmap in which a black dot corresponds to a pair of highly correlated genes (an edge in the graph). The default is to show the nodes according to their order in the input. By setting orderByDegree=TRUE as below, it is possible to change the order and cluster them, and show them in increasing degree order (from left to right.)
plotBitmapCC( AdjMat, clusterInfo = NULL, orderByCluster = FALSE, showMinDegree = 0 )
AdjMat |
An adjacency Matrix (0/1). |
clusterInfo |
obtained from graphComponents. If not provided by the user, it will be computed on the fly. |
orderByCluster |
If false, show the bitmap is the original node order. If TRUE, show nodes by clusters, and sort by distance from the center of the cluster. |
showMinDegree |
Non-negative integer indicating the minimum degree of nodes that should be displayed. Default=0 (all nodes). |
## Not run: data(SIM,package = "betaMix") res <- betaMix(betaMix::SIM, maxalpha = 1e-6,ppr = 0.01,subsamplesize = 30000, ind=TRUE) adjMat <- getAdjMat(res) SimComp <- graphComponents(adjMat) plotBitmapCC(adjMat) plotBitmapCC(adjMat, SimComp, orderByCluster=TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.