tukey_test_plot icon indicating copy to clipboard operation
tukey_test_plot copied to clipboard

Error when inputting data to function

Open jamespblloyd opened this issue 3 years ago • 0 comments

Hello, I am really interested in this function as it could save me a LOT of time. I am using the tukey_function.R function and loading as so: source("/Users/jameslloyd/Google_Drive_JPBL/Perth_post_doc/Compbio/Scripts/R/tukey_function.R") as using the load() function gave me an error. The data frame that I am entering is as below:

> df_ter_wide 35Ster OCS OCSTB OCStrunc TB uORF TMV 1 3.561157 0.4061558 0.4362142 0.3818021 1.761379 1.912806 2.698082 2 3.173568 0.4089441 0.4159561 0.3480589 2.050994 2.369541 2.729178 3 2.535603 0.3261991 0.5226910 0.3631480 1.562269 2.023732 2.696687 4 3.672051 0.3128315 0.4689013 0.2646994 1.455539 1.902217 3.088196

And the error message that I am getting is this: > significance <- tukey_plot_significance(df_ter_wide) No id variables; using all as measure variables Error in FUN(X[[i]], ...) : object 'variable' not found

Any help fixing this would be greatly appreciated.

jamespblloyd avatar Feb 07 '22 12:02 jamespblloyd