MissingValuesCheckR: Missing value proportion checker

Description Usage Arguments Value Author(s)

Description

function only lets groups of samples/subclasses pass which have a proportion of missing values less than the allowed threshold

Usage

1
2
3
4
MissingValuesCheckR(DataMatrix, subclasses_list = NULL,
  prop_missing_threshold = 0.2, NA_or_numeric_limit = NA,
  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.

prop_missing_threshold

The maximal proportion of missing values allowed in a single subclass.

NA_or_numeric_limit

Define the missing values, this can be set to 'NA' or to a numerical value in which case all values below this value will be deemed missing.

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 amount of subclasses (as defined in subclasses_list)

Value

Groups_that_passed A vector with the indices of the groups that passed the test for proportion of missing values.

Author(s)

Charlie Beirnaert, charlie.beirnaert@uantwerpen.be


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