I've just run v0.0.1 in R v4.0.3 on macOS 10.15.7, using RStudio v1.3.1073.
First I ran the LM22 example. This wrote out an XLSX, but gave errors with GetMetrics and ProportionPlot:
GetMetrics(mix.test)
Error in switch(metric, all = return(obj$Subject$ACCmetric), RMSE = return(GetRMSE(obj,
:EXPR must be a length 1 vector
ProportionPlot(mix.test)
Error: Insufficient values in manual scale. 22 needed but only 0 provided.
Run rlang::last_error() to see where the error occurred.
Then I ran this version with a data frame of FPKMs for 19.5k human coding genes and ~110 samples.
system.time(
mix.test <- MIXTURE(
expressionMatrix = xxx.fpkms,
#expressionMatrix = LM22,
signatureMatrix = LM22,
iter = 1000,
functionMixture = nu.svm.robust.RFE,
useCores = 6,
verbose = TRUE,
nullDist = "PopulationBased",
fileSave = "xxx_MIXTURE_FILE_LM22.xlsx"
)
)
On 6 2.6 GHz i7 cores, this finished in ~210 secs. It wrote out an XLSX.
But I again get errors with GetMetrics and ProportionPlot. From what I can see, the error messages are the same as for the LM22 self-test.
I can run GetMixture(mix.test) and GetPvalues(mix.test) without errors.
I've just run v0.0.1 in R v4.0.3 on macOS 10.15.7, using RStudio v1.3.1073.
First I ran the LM22 example. This wrote out an XLSX, but gave errors with GetMetrics and ProportionPlot:
GetMetrics(mix.test)
Error in switch(metric, all = return(obj$Subject$ACCmetric), RMSE = return(GetRMSE(obj,
:EXPR must be a length 1 vector
ProportionPlot(mix.test)
Error: Insufficient values in manual scale. 22 needed but only 0 provided.
Run
rlang::last_error()to see where the error occurred.Then I ran this version with a data frame of FPKMs for 19.5k human coding genes and ~110 samples.
system.time(
mix.test <- MIXTURE(
expressionMatrix = xxx.fpkms,
#expressionMatrix = LM22,
signatureMatrix = LM22,
iter = 1000,
functionMixture = nu.svm.robust.RFE,
useCores = 6,
verbose = TRUE,
nullDist = "PopulationBased",
fileSave = "xxx_MIXTURE_FILE_LM22.xlsx"
)
)
On 6 2.6 GHz i7 cores, this finished in ~210 secs. It wrote out an XLSX.
But I again get errors with GetMetrics and ProportionPlot. From what I can see, the error messages are the same as for the LM22 self-test.
I can run GetMixture(mix.test) and GetPvalues(mix.test) without errors.