.complCols: Search (complementing) columns for best coverage of non-NA data for rowNormalization (main)
Description
This function was designed to complete the selection of columns of sparse matrix 'dat' with sets of 'nCombin' columns at complete 'coverage'
Context : In sparse matrix 'dat' search subsets of columns with some rows as complete (no NA).
Usage
.complCols(x, dat, nCombin)
Value
This function returns a matrix of column-indexes complementing (nCombin rows)
Arguments
x
(integer, length=1) column number for with other columns to combine & give (some) complete non-NA lines are seeked
dat
(matrix) .. init data, smay be parse matrix with numerous NA
nCombin
(integer) .. number of columns used to make complete subset