Description Usage Arguments Details Value Author(s) Examples
Create a cut link matrix
1 | cutLinkMatrix(LinkMatrix, type = c("all", "inter", "intra"))
|
LinkMatrix |
|
type |
|
This function is used to cut features from LinkMatrix. If type = "all", LinkMatrix will not be changed; if type = "inter" the cut LinkMatrix will only contain entries of links which are between groups and not inside groups; contrary to that, if type = "intra" the cut LinkMatrix will only contain entries of links which are inside groups and not between groups.
cutLinkMatrix returns a matrix that gives per each row information on linked features
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 5 6 | data("binnedMSP", package = "MetCirc")
## use only a selection
binnedMSP <- binnedMSP[c(c(1:20, 29:48, 113:132, 240:259)),]
similarityMat <- createSimilarityMatrix(binnedMSP)
linkMat <- createLinkMatrix(similarityMatrix = similarityMat, threshold_low = 0.75, threshold_high = 1)
cutLinkMatrix(LinkMatrix = linkMat, type = "all")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.