get.prop.below.LLOD: Limit of detection analysis

View source: R/es.R

get.prop.below.LLODR Documentation

Limit of detection analysis

Description

The function obtains lower limit of detection as in proteomic analysis.

Usage

get.prop.below.LLOD(eset, flagged = "OUT")

Arguments

eset

An ExpressionSet object.

flagged

A flag is an indicator for sample exclusion.

Value

An updated ExpressionSet object.

Author(s)

James Peters

Examples

suppressMessages(library(Biobase))
data(sample.ExpressionSet, package="Biobase")
exampleSet <- sample.ExpressionSet
Biobase::fData(exampleSet)
Biobase::fData(exampleSet)$lod.max <-
    apply(Biobase::exprs(exampleSet),1,quantile,runif(nrow(exampleSet)))
lod <- get.prop.below.LLOD(exampleSet)
x <- dplyr::arrange(fData(lod),desc(pc.belowLOD.new))
knitr::kable(head(lod))
plot(x[,2], main="Random quantile cut off", ylab="<lod%")

jinghuazhao/pQTLtools documentation built on Dec. 16, 2024, 3:44 p.m.