Skip to content

Error in makeCentralityMatrix(gg, weights = weights) : object 'igraph.arpack.default' not found #1

Description

@Rohit-Satyam

Trying to run calcCentrality on an igraph object, but encountered this error

library(igraph)
ppi <- readRDS("pairwise_combinations_df_updated.rds") ## dataframe
ppi <- ppi[,c("int1","int2","votes","int1_abundances","int2_abundances")]
colnames(ppi) <- c("node1","node2","weight","int1_abundances","int2_abundances")
g3 <- graph_from_data_frame(ppi, directed = FALSE)
gg <- calcCentrality(g3)

Error in makeCentralityMatrix(gg, weights = weights) : 
  object 'igraph.arpack.default' not found

traceback()
4: page_rank(graph = graph, algo = algo, vids = vids, directed = directed, 
       damping = damping, personalized = personalized, weights = weights, 
       options = options)
3: page.rank(graph = gg, vids = V(gg), directed = FALSE, weights = weights, 
       options = igraph.arpack.default)
2: makeCentralityMatrix(gg, weights = weights)
1: calcCentrality(g3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions