"Error in A[, , -covars[, which(Study.ID %in% incomp)]] :incorrect number of dimensions".
--
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGraph-he...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/edb9a333-4fed-4658-8010-69819ba34d15o%40googlegroups.com.
1. It will probably be best to follow the latter, at least until/unless someone can share the necessary information to create a data.table for that parcellation.2. No, if you only want to run NBS, it isn't necessary to generate igraph graphs.3. I am not entirely sure what is causing that error. Can you run "traceback()"? Do you have a "Study.ID" column in your covars data.table? If so, what kind of data is that column, character or numeric?4. It is expected that the order in "covars" matches the order of the connectivity matrix files on your filesystem. This is typically going to be in alphanumeric order, but it might depend on the language used (i.e., the OS's locale).Chris
On Mon, Jun 15, 2020 at 10:13 PM Lucinda <lucin...@gmail.com> wrote:
Hi!--I'm hoping to use NBS to look at functional connectivity data parcellated with the Shen368 atlas, and have a few questions:1. Is there any chance the Shen368 atlas has been added to the list of compatible atlases, or would it be best to proceed under the 'use your own atlas' directions?2. The intro section to NBS noted that it works directly on the connectivity matrices. Given this, is it still necessary to generate igraph files?3. How much of the introductory code (e.g. setting up input/output dirs, etc) is necessary to run this analysis? I have been able to load the data in with the 'create_mats' function and create the covariance/design matrix, but am unfortunately getting the following error when attempting to run NBS():"Error in A[, , -covars[, which(Study.ID %in% incomp)]] :incorrect number of dimensions".Is it possible this is because I am missing some of the earlier requisite code? I've confirmed that the dimensions of the covariates and the design matrix align, as do the number of subjects.4. Possibly related to the above error, but how are subject IDs linked within NBS to the connectivity matrices? I examined the object that resulted from create_mats() but didn't see a list of IDs.Thank you so much for any help or insight, and for sharing and maintaining this amazing set of tools!Best,Lucinda
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGr...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGraph-he...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/4db380bb-a433-49d7-95f8-20785a6659b5o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGraph-he...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/cd28197d-3053-4d67-91d7-257e2d536de0o%40googlegroups.com.
That did it, thank you SO much!! I did get the following warning, but it seems like the code is still supported in the R version I'm using (3.6.3). Thank you again!"The melt generic in data.table has been passed a array and will attempt to redirect to the relevant reshape2 method; please note that reshape2 is deprecated, and this redirection is now deprecated as well. To continue using melt methods from reshape2 while both libraries are attached, e.g. melt.list, you can prepend the namespace like reshape2::melt(A). In the next version, this warning will become an error."
--
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGraph-he...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/ca2ce7ef-f3a4-496d-9198-571bdca9ee5fo%40googlegroups.com.
Yes, that warning is OK and will also go away with the next version.Chris
On Tue, Jun 16, 2020 at 3:01 PM Lucinda <lucin...@gmail.com> wrote:
That did it, thank you SO much!! I did get the following warning, but it seems like the code is still supported in the R version I'm using (3.6.3). Thank you again!--"The melt generic in data.table has been passed a array and will attempt to redirect to the relevant reshape2 method; please note that reshape2 is deprecated, and this redirection is now deprecated as well. To continue using melt methods from reshape2 while both libraries are attached, e.g. melt.list, you can prepend the namespace like reshape2::melt(A). In the next version, this warning will become an error."
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGr...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGraph-he...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/fec54f52-f8f6-4062-a74d-03bbc699647co%40googlegroups.com.
Calls: NBS -> setup_glm -> brainGraph_GLM_design
In addition: Warning message:
In max(cov.vec) : no non-missing arguments to max; returning -Inf
Execution halted"
Please provide more information. I assume this is from running NBS? The error probably comes from "brainGraph_GLM_design" but please post the output of "traceback()". Also the full function call that leads to the error.Also please post the output of "str(covars)".If you previously had created a design matrix, and are no longer including "X=X" in the function call, you have to make sure the function arguments are the same.Chris
On Wed, Jun 17, 2020 at 1:53 PM Lucinda <lucin...@gmail.com> wrote:
Great, thank you so much! I've been encountering one other error that I haven't been able to resolve. Wondering if there is a limit on how many subject can be run? Thanks so much for any insight!--"Error in 2:max(cov.vec) : result would be too long a vector".
On Tuesday, June 16, 2020 at 4:53:06 PM UTC-6, Chris Watson wrote:Yes, that warning is OK and will also go away with the next version.ChrisOn Tue, Jun 16, 2020 at 3:01 PM Lucinda <lucin...@gmail.com> wrote:That did it, thank you SO much!! I did get the following warning, but it seems like the code is still supported in the R version I'm using (3.6.3). Thank you again!--"The melt generic in data.table has been passed a array and will attempt to redirect to the relevant reshape2 method; please note that reshape2 is deprecated, and this redirection is now deprecated as well. To continue using melt methods from reshape2 while both libraries are attached, e.g. melt.list, you can prepend the namespace like reshape2::melt(A). In the next version, this warning will become an error."
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/ca2ce7ef-f3a4-496d-9198-571bdca9ee5fo%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "brainGraph-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/fec54f52-f8f6-4062-a74d-03bbc699647co%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to brainGraph-he...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brainGraph-help/f2fa2b28-e1f5-4153-86e9-b88944087e2co%40googlegroups.com.