Learn R Programming

MLMOI (version 0.1.2)

moi_separator: Finds the most frequent separator

Description

This function is activated when the data is of 'One row per sample, one column per marker' format. In such a dataset, the user enters multiple information corresponding to a sample on a marker in one cell and separates the items with a symbol (punctuation character). It is expected that user be consistent with usage of symbol. Otherwise this function addresses the inconsistencies with a warning.

Usage

moi_separator(set_d, nummtd, cha, rw_col, nwsh, multsh)

Value

a warning is generated reporting inconsistencies in usage of separator.

Arguments

set_d

data frame; imported dataset.

nummtd

numeric; number of metadata columns plus 2.

cha

string vector; vector of punctuation characters. See moi_prerequisite.

rw_col

string vector; variable used to switch between row and column in case of transposed data. Namely, c("rows ", "row ", "column ", "columns ").

nwsh

numeric; worksheet number in multiple worksheet dataset.

multsh

string; reports warnings for multiple worksheet datasets.

See Also

For further details see: moimport.