Dear, Colleagues

I am doing microbiome analysis.

And at this point I am getting the error.

net.grph = graph.adjacency (adjm, mode = “undirected”, weighted = TRUE, diag = FALSE)

Error in graph.adjacency (adjm, mode = “undirected”, weighted = TRUE, diag = FALSE):

cannot find function “graph.adjacency”

It doesn’t help either

net.grph = graph_from_adjacency_matrix(adjm, mode = “undirected”, weighted = TRUE, diag = FALSE)

cannot find function “graph_from_adjacency_matrix”

Please tell me what could be the problem?

R-studio 1.2.5042

R version 3.6.3 (2020-02-29)

igraph 1.2.5