This repository was archived by the owner on Jul 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
This repository was archived by the owner on Jul 23, 2020. It is now read-only.
Errors with miic() #3
Copy link
Copy link
Open
Description
Hello,
I installed your package from the cran and I tried to test it thanks to the documentation of the miic function but for each dataset I have an error.
For the first one I ran :
library(miic)
# EXAMPLE HEMATOPOIESIS
data(hematoData)
# execute MIIC (reconstruct graph)
miic.res = miic(inputData = hematoData, latent = TRUE,
confidenceShuffle = 10, confidenceThreshold = 0.001)
# plot graph
miic.plot(miic.res)
but I get :
Error in if (tmp_pval[r, "confidence_ratio"] < confidenceThreshold) { :
missing value where TRUE/FALSE needed
And when I tried to run commands for the second dataset as following
# EXAMPLE CANCER
data(cosmicCancer)
data(cosmicCancer_stateOrder)
# execute MIIC (reconstruct graph)
miic.res = miic(inputData = cosmicCancer, categoryOrder = cosmicCancer_stateOrder, latent = TRUE,
confidenceShuffle = 100, confidenceThreshold = 0.001)
I get :
Error in matrix(res1, nrow = length(res$edges) - 1, byrow = T) :
'data' must be of a vector type, was 'NULL'
What am I doing wrong ?
here my session info :
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/openblas-base/libblas.so.3
LAPACK: /usr/lib/libopenblasp-r0.2.18.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] miic_1.0.3
loaded via a namespace (and not attached):
[1] MASS_7.3-50 compiler_3.4.2 tools_3.4.2 yaml_2.2.0 Rcpp_0.12.18
Best,
Léa
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels