listMissing: flags variables and samples exceeding certain level of...

Description Usage Arguments Value

View source: R/listMissing.R

Description

flags variables and samples exceeding certain level of missingness

Usage

1
2
listMissing(x, maxMissVar = 0.25, maxMissSamp = 0.25,
  rmMissing = FALSE)

Arguments

x

(matrix or data.frame) rows are variables, columns are samples rownames must be var names and colnames must be sample names

maxMissVar

(numeric (0.01,1)) vars with greater than maxMiss samples missing will be flagged

maxMissSamp

(numeric (0.01,1)) samples with greater than maxMissSamp vars missing will be flagged

rmMissing

(logical) if TRUE remove vars and samples that are missing

Value

if rmMissing is set to TRUE, returns the matrix after removing offending variables and samples. Otherwise prints names of such variables and samples to console.


shraddhapai/dataExplore documentation built on March 9, 2020, 9:17 a.m.