Bio3d installation in Ubuntu 20.04

Issue #788 resolved
Former user created an issue

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)

  1. Xinqiu Yao

    Hi,

    Can you provide more details, including the commands you used and error messages you got?

  2. gauri Thapa

    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

  3. Xinqiu Yao

    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() or library(igraph) at the beginning.

  4. Log in to comment