Qoala-T / QC

Qoala-T is a supervised-learning tool for quality control of FreeSurfer segmented MRI data
Other
72 stars 15 forks source link

Error when I run A_model_based script #27

Closed yosoy96jose closed 4 years ago

yosoy96jose commented 4 years ago

Hi, I am trying to use Qoala Tool for the first time (A_model_based script), but when I run the program this error appears:

dataset_colnames <- names(rf.tune$trainingData)[-ncol(rf.tune$trainingData)] testing <- test_data[,dataset_colnames] Error in [.data.frame(test_data, , dataset_colnames) : undefined columns selected testing <- testing[complete.cases(testing),] Error: object 'testing' not found

I think that the reason is that in the csv generated by stats2table script is missing this columns: BrainSegVol.to.eT1V, MaskVol.to.et1V, estimatedtotalintracranialVol

Any recommendations?, thanks

larawierenga commented 4 years ago

Hi,

Have you tried the shiny app instead? And not sure if you used the R script or bash script to generate your dataset, but you could also see wether the other one works well.

Let us know if this helped.

Lara

On 21 Feb 2020, at 22:31, yosoy96jose notifications@github.com<mailto:notifications@github.com> wrote:

Hi, I am trying to use Qoala Tool for the first time (A_model_based script), but when I run the program this error appears:

dataset_colnames <- names(rf.tune$trainingData)[-ncol(rf.tune$trainingData)] testing <- test_data[,dataset_colnames] Error in [.data.frame(test_data, , dataset_colnames) : undefined columns selected testing <- testing[complete.cases(testing),] Error: object 'testing' not found

I think that the reason is that in the csv generated by stats2table script is missing this columns: BrainSegVol.to.eT1V, MaskVol.to.et1V, estimatedtotalintracranialVol

Any recommendations?, thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Qoala-T/QC/issues/27?email_source=notifications&email_token=AITGLACCXWMKZLVSCEKLWQ3REBB4TA5CNFSM4KZKX4U2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPNHE4A, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AITGLAC2S6LY4OOAWWKKJTLREBB4TANCNFSM4KZKX4UQ.

enjoy-our-life commented 2 years ago

Hi, I am trying to use Qoala Tool for the first time (A_model_based script), but when I run the program this error appears:

dataset_colnames <- names(rf.tune$trainingData)[-ncol(rf.tune$trainingData)] testing <- test_data[,dataset_colnames] Error in [.data.frame(test_data, , dataset_colnames) : undefined columns selected testing <- testing[complete.cases(testing),] Error: object 'testing' not found

I think that the reason is that in the csv generated by stats2table script is missing this columns: BrainSegVol.to.eT1V, MaskVol.to.et1V, estimatedtotalintracranialVol

Any recommendations?, thanks

Hi,how do you solve this problem?