Bio3d installation in Ubuntu 20.04
Hi, I was using bio3d in R version 3.6.3 installed in my ubuntu v20.04 system, but was not able to use functions like lmi, betweeness. Can you please help me regarding this.
Comments (5)
-
-
cij2 <- lmi(trj2[, inds$xyz])
Error in lmi(trj2[, inds$xyz]) : could not find function "lmi"node.betweenness <- betweenness(net$network)
Error in betweenness(net$network) : could not find function "betweenness"While command like read.pdb, fit.xyz are working fine.
I earlier used R v 3.4.4 and all the above commands worked fine in that version. I am unable to install this same version in my Ubuntu 20.04v.
Thank you so much for your help.
Gauri
-
The lmi() function is obsolete. Use
dccm(trj2[, inds$xyz], method="lmi")
instead.
betweenness() is a function from the igraph package. Use either
igraph::betweenness()
orlibrary(igraph)
at the beginning. -
Thank you very much.
-
- changed status to resolved
- Log in to comment
Hi,
Can you provide more details, including the commands you used and error messages you got?