histFeature: Histogram for measured value per feature

View source: R/tab_measuredvalues_missingvalues.R

histFeatureR Documentation

Histogram for measured value per feature

Description

The function histFeature creates a histogram with the number of measured/missing values per feature.

Usage

histFeature(x, measured = TRUE, ...)

Arguments

x

matrix containing intensities. Missing values are encoded as NA.

measured

logical, should the measured values (measured = TRUE) or missing values (measured = FALSE) be taken

...

additional parameters passed to geom_histogram, e.g. binwidth.

Value

plotly object from ggplotly

Examples

x <- matrix(c(c(1, 1, 1), c(1, NA, 1), c(1, NA, 1), 
    c(1, 1, 1), c(NA, 1, 1), c(NA, 1, 1)), byrow = FALSE, nrow = 3)
colnames(x) <- c("A_1", "A_2", "A_3", "B_1", "B_2", "B_3")
histFeature(x, binwidth = 1)


tnaake/MatrixQCvis documentation built on May 6, 2024, 8:19 p.m.