Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vertex_attr_dt error in rbindlist: non existing column(s) 'density' #34

Open
chen524 opened this issue Apr 20, 2023 · 0 comments
Open

Comments

@chen524
Copy link

chen524 commented Apr 20, 2023

Hi, thanks for the great package and detailed documents. I'm working with rs-fmri functional connectivity matrices. I've successfully make brainGraphList with 10 thresholds, and saved g/g.group.rds. But something wrong when creating vertex measures:

dt.V <- rbindlist(lapply(g, vertex_attr_dt))
Error in colnamesInt(x, neworder, check_dups = FALSE) : 
  argument specifying columns specify non existing column(s): cols[1]='density'

The graph measures rbindlist(lapply(g, graph_attr_dt)) worked fine:

I checked the documents, seems density is the argument for structural covariance network? I guess the key of rbindlist should be threshold. But I dont know how to fix that.

I'd appreciate your reply.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant