irycisBioinfo / PATO

PATO is a R package designed to analyze pangenomes (set of genomes) intra or inter species.
GNU General Public License v3.0
54 stars 6 forks source link

classifier #1

Open MariaPerezVazquez opened 3 years ago

MariaPerezVazquez commented 3 years ago

I am trying to make the example in wiki, one I have installed PATO I try to run classifier and I get the following error

species <- classifier(files,n_cores = 20,type = 'prot') Error in file_list[, 1] : incorrect number of dimensions

Any help would be great Maria

AnaPTedim commented 2 years ago

Hi,

Did you solve it? I have exactly the same problem.

Thanks!

valflanza commented 2 years ago

Hi Ana.

Yes. you have to transform the "files" to a data.frame.

''' files <- files %>% as.data.frame() species <- classifier(files,n_cores = 20,type = 'prot') '''

AnaPTedim commented 2 years ago

Thanks!!!!

El lun., 20 dic. 2021 14:54, Val F. Lanza @.***> escribió:

Hi Ana.

Yes. you have to transform the "files" to a data.frame.

''' files <- files %>% as.data.frame() species <- classifier(files,n_cores = 20,type = 'prot') '''

— Reply to this email directly, view it on GitHub https://github.com/irycisBioinfo/PATO/issues/1#issuecomment-997943597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPOOFXMNH4NPD2AZL6JXADUR4YQBANCNFSM46OO2ERQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>