Open sandralu19 opened 1 year ago
Hi Sandra,
Please, indicate the data type for each of the omics:
type: Vector with length equal to the number of omic data types. Each element of this vector must be a 1, 2 or 3 to indicate whether the omic data are count data (1), continuous data approximately following a normal distribution (2) or binary data (3).
Thanks for using MultiPower!
Sonia
Hi,
I'm trying to run the Multipower analysis based on the instructions and the default parameters in the User's Guide:
MultiPower(statdata, groups = statdesign, type = 2, omicPower = 0.6, averagePower = 0.85, fdr = 0.05, cost = 1, equalSize = TRUE, max.size = 200, omicCol = NULL, powerPlots = TRUE, null.effect = 0)
When running the code, this message appears:
Estimating parameters for omic: meta Parameters are to be estimated for normally distributed data Estimating parameters for omic: geno [1] "11460 constant features are to be removed from the analysis." Error in if (type == 1) { : missing value where TRUE/FALSE needed
I was wondering if you could help me with this, or suggest possible solutions as I believe your package would be helpful for my research.
Thanks, Sandra.