asteinberger9 / seq_scripts

GNU General Public License v3.0
7 stars 4 forks source link

Error simper.pretty function (subscript) logical subscript too long #4

Closed NitoCR closed 3 years ago

NitoCR commented 3 years ago

Hi, first of all thanks for the scripts. I need the script to see the actual dissimiliarity %contribution value of each species in my research. I have problem with simper.pretty as shown below

source("D:/Afry/R/seq_scripts-1.1/seq_scripts-1.1/simper_pretty.R") Error in comm[group == comp[i, 1], , drop = FALSE] : (subscript) logical subscript too long

where can i get your email so i can give you my data set i use?

asteinberger9 commented 3 years ago

Hi @NitoCR, I am glad the scripts will be helpful for you and apologies they are giving you errors. Based on the error you received I think the issue may be with your data format. That is the most common cause of failure with these scripts. If you have not already done so, please visit the readme for these scripts, specifically the section "Examples of Recommended Input Formats" and make sure your data are formatted as required. Hopefully this will resolve those errors.