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 is 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)

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)

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"]]

Session info

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

## R version 3.6.2 (2019-12-12)
## Platform: x86_64-apple-darwin15.6.0 (64-bit)
## Running under: macOS Catalina 10.15.5
## 
## 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] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] BiocStyle_2.14.4
## 
## loaded via a namespace (and not attached):
##  [1] bookdown_0.18       Rcpp_1.0.4          rprojroot_1.3-2    
##  [4] crayon_1.3.4        digest_0.6.25       assertthat_0.2.1   
##  [7] MASS_7.3-51.6       R6_2.4.1            backports_1.1.6    
## [10] magrittr_1.5        evaluate_0.14       stringi_1.4.6      
## [13] rlang_0.4.6         rstudioapi_0.11     fs_1.4.1           
## [16] rmarkdown_2.1       pkgdown_1.5.1       desc_1.2.0         
## [19] tools_3.6.2         stringr_1.4.0       yaml_2.2.1         
## [22] xfun_0.13           compiler_3.6.2      BiocManager_1.30.10
## [25] memoise_1.1.0       htmltools_0.4.0     knitr_1.28