moi_metadata: Checks the metadata entries

Description Usage Arguments Value See Also

View source: R/moibasic.R

Description

Checks if a sample has unique metadata entries.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
moi_metadata(
  metadata,
  mtdlabels,
  nummtd,
  samorder,
  samall,
  lsam,
  nomtdneeded,
  nomerge,
  multsh
)

Arguments

metadata

matrix; matrix of metadata columns.

mtdlabels

string vector; vector of metadata labels.

nummtd

numeric; number of metadata columns plus 2.

samorder

numeric vector; rows where samples start.

samall

string vector; vector of sample IDs in the worksheet.

lsam

numeric; number of samples in the worksheet.

nomtdneeded

numeric vector; samples which need no metadata.

multsh

string; reports warnings for multiple worksheet datasets.

Value

a list of following elements: 1) unique metadata for different samples, 2) an identifier whose value is 1 if a warning takes place.

See Also

For further details see: moimport.


MLMOI documentation built on Jan. 11, 2020, 9:22 a.m.