specmine is an R package for metabolomics and spectral data analysis. It provides methods for data import, preprocessing, visualization, univariate and multivariate analysis, machine learning, feature selection, and pathway analysis.
Project repository: https://github.com/PedroFontao/specmine
This package suggests cyjShiny, which is available from CRAN. If
needed, the development version can also be installed from GitHub:
install.packages("cyjShiny")
#> Installing package into '/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/RtmptsYwnD/temp_libpath81b5d8161bc'
#> (as 'lib' is unspecified)
#>
#> The downloaded binary packages are in
#> /var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T//Rtmp0VWfND/downloaded_packages
# or
remotes::install_github("cytoscape/cyjShiny", ref = "master", build_vignettes = TRUE)
#> Using GitHub PAT from the git credential store.
#> Downloading GitHub repo cytoscape/cyjShiny@master
#> xfun (0.59 -> 0.60) [CRAN]
#> Skipping 1 packages not available: graph
#> Installing 1 packages: xfun
#> Installing package into '/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/RtmptsYwnD/temp_libpath81b5d8161bc'
#> (as 'lib' is unspecified)
#>
#> The downloaded binary packages are in
#> /var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T//Rtmp0VWfND/downloaded_packages
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#> * checking for file ‘/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/Rtmp0VWfND/remotes892d7ba151d0/cytoscape-cyjShiny-594c2a7/DESCRIPTION’ ... OK
#> * preparing ‘cyjShiny’:
#> * checking DESCRIPTION meta-information ... OK
#> * installing the package (it is needed to build vignettes)
#> * creating vignettes ... OK
#> * checking for LF line-endings in source and make files and shell scripts
#> * checking for empty or unneeded directories
#> Omitted ‘LazyData’ from DESCRIPTION
#> * building ‘cyjShiny_1.0.43.tar.gz’
#> Installing package into '/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/RtmptsYwnD/temp_libpath81b5d8161bc'
#> (as 'lib' is unspecified)
Installation Install the released version from CRAN:
install.packages("specmine")
#> Installing package into '/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/RtmptsYwnD/temp_libpath81b5d8161bc'
#> (as 'lib' is unspecified)
#> Warning: package 'specmine' is not available for this version of R
#>
#> A version of this package for your version of R might be available elsewhere,
#> see the ideas at
#> https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Install the development version from GitHub:
# install.packages("devtools")
# devtools::install_github("PedroFontao/specmine")
install.packages("specmine", repos = c('https://pedrofontao.r-universe.dev', 'https://cloud.r-project.org'))
#> Warning: `install_github()` was deprecated in devtools 2.5.0.
#> ℹ Please use pak::pak("user/repo") instead.
#> This warning is displayed once per session.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
#> Using GitHub PAT from the git credential store.
#> Downloading GitHub repo PedroFontao/specmine@HEAD
#> colorspace (2.1-2 -> 2.1-3) [CRAN]
#> litedown (0.9 -> 0.10 ) [CRAN]
#> mvtnorm (1.4-1 -> 1.4-2) [CRAN]
#> Skipping 2 packages not available: impute, genefilter
#> Installing 3 packages: colorspace, litedown, mvtnorm
#> Installing packages into '/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/RtmptsYwnD/temp_libpath81b5d8161bc'
#> (as 'lib' is unspecified)
#>
#> The downloaded binary packages are in
#> /var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T//Rtmp0VWfND/downloaded_packages
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#> * checking for file ‘/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/Rtmp0VWfND/remotes892d352fe341/PedroFontao-specmine-fd865a9/DESCRIPTION’ ... OK
#> * preparing ‘specmine’:
#> * checking DESCRIPTION meta-information ... OK
#> * checking for LF line-endings in source and make files and shell scripts
#> * checking for empty or unneeded directories
#> * building ‘specmine_3.1.8.tar.gz’
#> Installing package into '/private/var/folders/y9/p5k4znxj62s8385cyxkjgf6w0000gn/T/RtmptsYwnD/temp_libpath81b5d8161bc'
#> (as 'lib' is unspecified)
Example Load the package:
library(specmine)