BlankCheckR: Blanco filter

Description Usage Arguments Value Author(s)

Description

function only lets groups of samples/subclasses pass for which at least one of the subclasses has a median value x times (10 default) larger than the maximal blanco value

Usage

1
2
3
4
BlankCheckR(DataMatrix, subclasses_list = NULL, blank_entry = NULL,
  blank_data = NULL, blank_multiplier = 10,
  ignore_missing_values = TRUE, labels = NULL,
  feature_orientation = "columns", groups_ok_threshold = 1)

Arguments

DataMatrix

A matrix with feature groups as columns and samples for rows.

subclasses_list

A list with either A) in each list entry a number of integers or numerics corresponding to the rows that form the subclasses to be checked, or B) in each list entry characters or factors corresponding to those found in the 'labels' attribute.

blank_entry

The label of the blanco samples (as to be found in the 'labels' attribute) or a vector of row numbers corresponding to the rows with blanco samples.

blank_data

If the blanco data is not in 'DataMatrix' but in an additional matrix than it can be provided with this entry.

blank_multiplier

The maximal RSD value (sd/mean) allowed in a single subclass.

ignore_missing_values

Whether to ignore the missing values. If set to FALSE the calculation of the median intensities will result in a lot 'NAs' or 'NaNs'

labels

A vector of labels which can be used to group the samples together in subclasses. This attribute is necessary if 'subclasses_list' consists of character or factor entries.

feature_orientation

Indicates whether the features can be found in the columns (default) or in the rows. With the default setting every row corresponds to a sample, and every column to a feature/group

groups_ok_threshold

The minimal amount of subclasses (as defined in subclasses_list) that have to pass the test

Value

blank_ok A vector with the indices of groups/features which passed the blanco filter.

Author(s)

Charlie Beirnaert, charlie.beirnaert@uantwerpen.be


Beirnaert/MetaboMeeseeks documentation built on May 20, 2019, 11:09 a.m.