Skip to contents

Two views of the missingness structure that governs every downstream test: type = "unit" shows how many features are quantified in each unit (sample or bioreplicate), type = "feature" how many units each feature is quantified in — the distribution that the filter_quant() cut-off acts on.

Usage

plot_completeness(mat, coldata, type = c("unit", "feature"))

Arguments

mat

Numeric matrix from build_quant_matrix().

coldata

Matching column metadata (Unit, Condition).

type

"unit" (default) or "feature".

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
plot_completeness(qm$mat, qm$coldata, type = "unit")
} # }