I have 4x2 contingency tables and would like to perform Fisher's exact test on them. R stats package(https://www.rdocumentation.org/packages/stats/versions/3.6.1/topics/fisher.test) supports 4x2 test by combing p-values with Monte Carlo simulation. The result is not significant. I would like to perform power analysis to check whether the sample size is too small to detect differences between two categorical variables. However, R stats package (https://www.rdocumentation.org/packages/statmod/versions/1.4.32/topics/power.fisher.test) does not support the analysis on 4X2 tables. Do you know how to perform power analysis in this case? Is there any implementation supporting it?
Many thanks!