Description Usage Arguments Value Examples
This function takes a CEMiTool
object containing expression values
and returns a CEMiTool object with an adjacency matrix in the adjacency slot.
1 2 3 4 5 6 7 8 9 |
cem |
Object of class |
... |
Optional parameters. |
value |
Object of class |
Object of class matrix
with adjacency values or object of class CEMiTool
.
1 2 3 4 5 6 7 8 9 10 11 12 | # Get example expression data
data(expr0)
# Initialize new CEMiTool object with expression
cem <- new_cem(expr0, filter=TRUE, apply_vst=FALSE)
# Calculate adjacency matrix with example beta value 8
cem <- get_adj(cem, beta=8)
# Return adjacency matrix
adj <- adj_data(cem)
# Check result
adj[1:5, 1:5]
# Set adjacency matrix to CEMiTool object
adj_data(cem) <- adj
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.