MG-RAST / matR

Metagenomics Analysis Tools
https://mg-rast.github.io/matR
Other
25 stars 10 forks source link

error during demo("second") #40

Closed accaldwell closed 7 years ago

accaldwell commented 11 years ago

After running demo("second"), a few tests in I ran into the following:

> ### from the p-value column, we can identify rows passing a significance threshold,
> ### and select the corresponding part of the original matrix
> 
> Wsub <- W$normed [results$stat$p.value < 0.05, ]
Error in results$stat$p.value : $ operator is invalid for atomic vectors

Session info as follows:

> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=C                 LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] MASS_7.3-22          gplots_2.11.0        KernSmooth_2.23-8    caTools_1.14         gdata_2.12.0        
[6] gtools_2.7.0         matR_0.9.9           scatterplot3d_0.3-33 ecodist_1.2.7       

loaded via a namespace (and not attached):
[1] bitops_1.0-5    lattice_0.20-10 Matrix_1.0-9    tools_2.15.2
wltrimbl commented 7 years ago

This wasn't addressed while the demo was still relevant. matR has been substantially rewritten since 2013 and the code that was malfunctioning is no longer part of matR.