Learn R Programming

SomaDataIO (version 6.2.0)

adat2eSet: Convert ADAT to ExpressionSet Object

Description

Utility to convert a SomaLogic soma_adat object to an ExpressionSet object via the Biobase package from Bioconductor: https://www.bioconductor.org/packages/release/bioc/html/Biobase.html.

Usage

adat2eSet(adat)

Value

A Bioconductor object of class ExpressionSet.

Arguments

adat

A soma_adat class object as read into the R environment using read_adat().

Author

Stu Field

Details

The Biobase package is required and must be installed from Bioconductor via the following at the R console:

if (!requireNamespace("BiocManager", quietly = TRUE)) {
  install.packages("BiocManager")
}
BiocManager::install("Biobase", version = remotes::bioc_version())

References

https://bioconductor.org/install/

See Also

Other eSet: pivotExpressionSet()

Examples

Run this code
if (FALSE) { # rlang::is_installed("Biobase")
eSet <- adat2eSet(example_data)
class(eSet)
eSet

ft <- Biobase::exprs(eSet)
head(ft[, 1:10L], 10L)
}

Run the code above in your browser using DataLab