tableLOD-methods: It creates a vector with the amount of under-LOD exposures in...

tableLODR Documentation

It creates a vector with the amount of under-LOD exposures in an ExposomeSet

Description

This function can be used to obtain a table with the under-LOD data in exposures of an ExposomeSet.

Usage

tableLOD(object, output = "n", lod.col = "LOD", sort = TRUE)

Arguments

object

ExposomeSet which exposome will be plotted.

output

(default "n") Can be "n" for number of values, and "p" for percentage.

lod.col

(default "LOD") Name of the column in fData containing the LOD thresholds.

sort

(default TRUE) If TRUE the chart will be ordered from the features with less missing data to the ones with more under-LOD values.

Value

A numeric vector with number of udner-LOD values per exposure. The vector is labeled with the exposure's names.

See Also

plotFamily to draw the profile of a family of exposures, plotHistogram to draw the shape of an exposure, plotMissings to draw a plot with the missing data an ExposomeSet, imputation to impute missing data on the exposures of an ExposomeSet

Examples

data("exposome")
# The included has no missing data
tableLOD(expo, output = "n")

isglobal-brge/rexposome documentation built on Feb. 4, 2023, 12:35 p.m.