# Installation

Lindsay Rutter

#### 2020-03-18

#### Package

bigPint 1.2.2

## 0.1 R software

`bigPint` requires R (version >= 3.4.1) to be installed on your system. R is an open source software project for statistical computing, and can be freely downloaded from the Comprehensive R Archive Network (CRAN) website. The link to contributed documentation on the CRAN website offers practical resources for an introduction to R, in several languages. After downloading and installing R, the installation of additional packages is straightforward. The latest development version of the `bigPint` package can be installed as follows:

    library(devtools)
    install_github("lindsayrutter/bigPint")

The `bigPint` package will hopefully also be available on Bioconductor. As a result, the latest stable release version of the package and all its dependencies can be accessed using the following Bioconductor infrastructure:

    if (!require("BiocManager"))
      install.packages("BiocManager")
    BiocManager::install("bigPint")

The bigPint package should now be successfully installed. Next, to render it accessible to the current R session, simply type:

    library(bigPint)

## 0.2 Accessing help pages

To access help pages with example syntax and documentation for the available functions of the bigPint package, please type:

    help(package="bigPint")

To access more detailed information about a specific function in the bigPint package, use the following help command on that function, such as:

    help(plotLitre)

## 0.3 Running help examples

The above command will return the help file for the function. The help file often includes freestanding example syntax to illustrate how function commands are executed. In the case of the function, the example syntax is the following seven lines, which can be pasted directly into an R session.

    data(soybean_ir_sub)
    soybean_ir_sub[,-1] <- log(soybean_ir_sub[,-1]+1)
    data(soybean_ir_sub_metrics)
    geneList = soybean_ir_sub_metrics[["N_P"]][1:5,]$ID
    ret <- plotLitre(data = soybean_ir_sub, geneList = geneList, saveFile = FALSE)
    names(ret)
    ret[["N_P_Glyma.19G168700.Wm82.a2.v1"]]

## 0.4 Session info

Below is the output of `sessionInfo()` on the system from which this document was compiled running pandoc 1.19.2.1:

    sessionInfo()

    ## R version 3.6.3 (2020-02-29)
    ## Platform: x86_64-apple-darwin15.6.0 (64-bit)
    ## Running under: OS X El Capitan 10.11.6
    ##
    ## Matrix products: default
    ## BLAS:   /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
    ## LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
    ##
    ## locale:
    ## [1] C/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
    ##
    ## attached base packages:
    ## [1] grid      stats     graphics  grDevices utils     datasets  methods
    ## [8] base
    ##
    ## other attached packages:
    ## [1] dplyr_0.8.5        data.table_1.12.8  edgeR_3.28.1       limma_3.42.2
    ## [5] bigPint_1.2.2      ggplot2_3.3.0      matrixStats_0.56.0 BiocStyle_2.14.4
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] httr_1.4.1           tidyr_1.0.2          jsonlite_1.6.1
    ##  [4] viridisLite_0.3.0    splines_3.6.3        Formula_1.2-3
    ##  [7] shiny_1.4.0.2        assertthat_0.2.1     BiocManager_1.30.10
    ## [10] latticeExtra_0.6-29  yaml_2.2.1           pillar_1.4.3
    ## [13] backports_1.1.5      lattice_0.20-40      glue_1.3.2
    ## [16] digest_0.6.25        RColorBrewer_1.1-2   promises_1.1.0
    ## [19] checkmate_2.0.0      colorspace_1.4-1     shinycssloaders_0.3
    ## [22] htmltools_0.4.0      httpuv_1.5.2         Matrix_1.2-18
    ## [25] plyr_1.8.6           pkgconfig_2.0.3      magick_2.3
    ## [28] bookdown_0.18        purrr_0.3.3          xtable_1.8-4
    ## [31] scales_1.1.0         jpeg_0.1-8.1         later_1.0.0
    ## [34] htmlTable_1.13.3     tibble_2.1.3         farver_2.0.3
    ## [37] ellipsis_0.3.0       withr_2.1.2          nnet_7.3-13
    ## [40] hexbin_1.28.1        lazyeval_0.2.2       survival_3.1-11
    ## [43] magrittr_1.5         crayon_1.3.4         mime_0.9
    ## [46] evaluate_0.14        GGally_1.4.0         foreign_0.8-76
    ## [49] shinydashboard_0.7.1 tools_3.6.3          lifecycle_0.2.0
    ## [52] stringr_1.4.0        plotly_4.9.2         locfit_1.5-9.1
    ## [55] munsell_0.5.0        cluster_2.1.0        compiler_3.6.3
    ## [58] rlang_0.4.5          rstudioapi_0.11      htmlwidgets_1.5.1
    ## [61] labeling_0.3         base64enc_0.1-3      rmarkdown_2.1
    ## [64] gtable_0.3.0         reshape_0.8.8        R6_2.4.1
    ## [67] gridExtra_2.3        knitr_1.28           fastmap_1.0.1
    ## [70] Hmisc_4.3-1          stringi_1.4.6        Rcpp_1.0.4
    ## [73] vctrs_0.2.4          rpart_4.1-15         acepack_1.4.1
    ## [76] png_0.1-7            tidyselect_1.0.0     xfun_0.12