Sistema de blogs Diarium
Universidad de Salamanca
Statistics and R software
Blog by JMSS
 

R pill: “Install packages from Bioconductor”

Bioconductor provides tools for the analysis and comprehension of high-throughput genomic data. Bioconductor uses the R statistical programming language, and is open source and open development.

Visit https://www.bioconductor.org/ for more information.

Example: Install “affy” and “AnnotationDbi” packages to manage tools for Affymetrix microarrays. The conditional “if” is used to check if we already have a package installed.


# Install package BiocManager from CRAN to access Bioconductor:
if (!requireNamespace("BiocManager", quietly = TRUE))
  install.packages("BiocManager")

# Install package "affy", "AnnotationDbi"...
if (!requireNamespace(c("affy", "AnnotationDbi"), quietly = TRUE))
  BiocManager::install(c("affy", "AnnotationDbi"))


See: https://www.bioconductor.org/install/

jose

About jose

Profesor titular del Dpto. de Estadística e I.O. de la Usal. Entusiasta del software estadístico R.
Aún no hay comentarios.

Deja un comentario

Política de privacidad
Studii Salmantini. Campus de excelencia internacional