powered by
Converts weighted adjacency matrix to a binarized adjacency matrix
binarize(A)
An adjacency matrix of network data (or an array of matrices)
Returns an adjacency matrix of 1's and 0's
# NOT RUN { # Pearson's correlation only for CRAN checks A <- TMFG(neoOpen, normal = FALSE)$A neoB <- binarize(A) # }
Run the code above in your browser using DataLab