createLCmatrix: Create a binary matrix of LC members

Description Usage Arguments Value Examples

View source: R/getOntoClust.R

Description

Create a binary matrix of LC members

Usage

1
createLCmatrix(lc, includeOutlierLC = FALSE)

Arguments

lc

Output of getLC

includeOutlierLC

Include the ontology terms that are not part of a link community. Default FALSE

Value

Binary LC membership matrix. Rows: ontology terms, columns: link communities.

Examples

1
2
3
4
5
6
7
## Not run: 
ontology.id <- sample_data$GOBP$ID[1:100]
network <- createOntologyNetwork(ontology.id, method = "jaccard", weighted = FALSE)
lc <- getLC(network)
createLCmatrix(lc)

## End(Not run)

altintasali/ontoClust documentation built on Dec. 19, 2021, 1:36 a.m.