corrector_string: Removes punctuation characters and typos from data entries

Description Usage Arguments Value See Also

Description

This function is designed to find the lineages present on a SNP, amino-acid and codon marker in a single cell.

Usage

1
corrector_string(y, c_l, r_w, conm, cons, cha_string, rw_col, coding, multsh)

Arguments

y

string; entry of a cell.

c_l

string; marker label.

r_w

numeric; sample ID's row number in the excel file.

conm

numeric; the multiple column per marker identifier. For the data of format multiple columns conm > 1.

cons

numeric; the multiple row per sample identifier. For the data of format multiple rows cons > 1.

cha_string

string vector; the vector of punctuation characters plus numerics form 1 to 9. 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 ").

multsh

string; reports warnings for multiple worksheet datasets.

Value

a list of following elements: 1) a vector of lineages found on a marker (SNP, amino-acid or codon) in a single cell. Each element corresponds to one and only one lineage and it is free from typos, 2) an identifier whose value is 1 if a warning takes place.

See Also

For further details see: moimport, moi_marker.


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