ConesaLab / MultiPower

Statistical power studies for multi-omics experiments.
29 stars 10 forks source link

Error in xy.coords(x, y) : 'x' and 'y' lengths differ #10

Open AgazW opened 7 months ago

AgazW commented 7 months ago

Thank you for making the tool available. I'm trying to use it for a single data type, such as proteomics. I got the sample size and a plot showing Power vs. Sample size, but it does not show the other plot, Power vs. Effect size. It throws the error. I looked at the code, and the line points(optiSS, diag(yValues[as.character(optiSS), ]), pch = 15, col = omicCol, cex = 1.2) gives an error. Any thoughts?

Thanks.

soniatarazona commented 6 months ago

Sorry, I would need more information to reproduce the error you get. However, MultiPower gives you the values used to create that plot. Did you try to make it yourself? Thanks!