# Installation

Lindsay Rutter

#### 2019-10-29

#### Package

bigPint 1.2.0

## 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.1 (2019-07-05)
    ## Platform: x86_64-pc-linux-gnu (64-bit)
    ## Running under: Ubuntu 18.04.3 LTS
    ##
    ## Matrix products: default
    ## BLAS:   /home/biocbuild/bbs-3.10-bioc/R/lib/libRblas.so
    ## LAPACK: /home/biocbuild/bbs-3.10-bioc/R/lib/libRlapack.so
    ##
    ## locale:
    ##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
    ##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C
    ##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
    ##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
    ##  [9] LC_ADDRESS=C               LC_TELEPHONE=C
    ## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
    ##
    ## attached base packages:
    ## [1] grid      stats     graphics  grDevices utils     datasets  methods
    ## [8] base
    ##
    ## other attached packages:
    ## [1] dplyr_0.8.3        data.table_1.12.6  edgeR_3.28.0
    ## [4] limma_3.42.0       bigPint_1.2.0      ggplot2_3.2.1
    ## [7] matrixStats_0.55.0 BiocStyle_2.14.0
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] httr_1.4.1            tidyr_1.0.0           jsonlite_1.6
    ##  [4] viridisLite_0.3.0     splines_3.6.1         Formula_1.2-3
    ##  [7] shiny_1.4.0           assertthat_0.2.1      BiocManager_1.30.9
    ## [10] latticeExtra_0.6-28   yaml_2.2.0            pillar_1.4.2
    ## [13] backports_1.1.5       lattice_0.20-38       glue_1.3.1
    ## [16] digest_0.6.22         RColorBrewer_1.1-2    promises_1.1.0
    ## [19] checkmate_1.9.4       colorspace_1.4-1      shinycssloaders_0.2.0
    ## [22] htmltools_0.4.0       httpuv_1.5.2          Matrix_1.2-17
    ## [25] plyr_1.8.4            pkgconfig_2.0.3       bookdown_0.14
    ## [28] purrr_0.3.3           xtable_1.8-4          scales_1.0.0
    ## [31] later_1.0.0           htmlTable_1.13.2      tibble_2.1.3
    ## [34] ellipsis_0.3.0        withr_2.1.2           nnet_7.3-12
    ## [37] hexbin_1.27.3         lazyeval_0.2.2        survival_2.44-1.1
    ## [40] magrittr_1.5          crayon_1.3.4          mime_0.7
    ## [43] evaluate_0.14         GGally_1.4.0          foreign_0.8-72
    ## [46] shinydashboard_0.7.1  tools_3.6.1           lifecycle_0.1.0
    ## [49] stringr_1.4.0         plotly_4.9.0          locfit_1.5-9.1
    ## [52] munsell_0.5.0         cluster_2.1.0         compiler_3.6.1
    ## [55] rlang_0.4.1           rstudioapi_0.10       htmlwidgets_1.5.1
    ## [58] base64enc_0.1-3       labeling_0.3          rmarkdown_1.16
    ## [61] gtable_0.3.0          reshape_0.8.8         reshape2_1.4.3
    ## [64] R6_2.4.0              gridExtra_2.3         knitr_1.25
    ## [67] fastmap_1.0.1         zeallot_0.1.0         Hmisc_4.2-0
    ## [70] stringi_1.4.3         Rcpp_1.0.2            vctrs_0.2.0
    ## [73] rpart_4.1-15          acepack_1.4.1         tidyselect_0.2.5
    ## [76] xfun_0.10