adat-helpers {SomaDataIO} | R Documentation |
Helpers to Extract Information from an ADAT
Description
Retrieve elements of the HEADER
attribute of a soma_adat
object:
getAdatVersion()
determines the the ADAT version
number from a parsed ADAT header.
getSomaScanVersion()
determines the original SomaScan assay version
that generated RFU measurements within a soma_adat
object.
checkSomaScanVersion()
determines if the version of
is a recognized version of SomaScan.
Table of SomaScan assay versions:
Version | Commercial Name | Size |
V4 | 5k | 5284 |
v4.1 | 7k | 7596 |
v5.0 | 11k | 11083 |
getSignalSpace()
determines the current signal space of
the RFU values, which may differ from the original SomaScan
signal space if the data have been lifted. See lift_adat()
and
vignette("lifting-and-bridging", package = "SomaDataIO")
.
getSomaScanLiftCCC()
accesses the lifting Concordance Correlation
Coefficients between various SomaScan versions. For more about
CCC metrics see lift_adat()
.
Usage
getAdatVersion(x)
getSomaScanVersion(adat)
getSignalSpace(adat)
checkSomaScanVersion(ver)
getSomaScanLiftCCC(matrix = c("plasma", "serum"))
Arguments
x |
Either a |
adat |
A |
ver |
|
matrix |
Character. A string of (usually) either
|
Value
\link[=getAdatVersion]{getAdatVersion()} |
The key-value of the |
\link[=getSomaScanVersion]{getSomaScanVersion()} |
The key-value of the |
\link[=getSignalSpace]{getSignalSpace()} |
The key-value of the |
\link[=checkSomaScanVersion]{checkSomaScanVersion()} |
Returns |
\link[=getSomaScanLiftCCC]{getSomaScanLiftCCC()} |
Returns a tibble of either the
|
Author(s)
Stu Field
References
Lin, Lawrence I-Kuei. 1989. A Concordance Correlation Coefficient to Evaluate Reproducibility. Biometrics. 45:255-268.
Examples
getAdatVersion(example_data)
attr(example_data, "Header.Meta")$HEADER$Version <- "99.9"
getAdatVersion(example_data)
ver <- getSomaScanVersion(example_data)
ver
rfu_space <- getSignalSpace(example_data)
rfu_space
is.null(checkSomaScanVersion(ver))
# plasma (default)
getSomaScanLiftCCC()
# serum
getSomaScanLiftCCC("serum")