This function creates a list storing information about dividing data into blocks, as well as about possibly excluding genes or samples with excessive numbers of missing data.
newBlockInformation(blocks, goodSamplesAndGenes)
A vector giving block labels. It is assumed to be a numeric vector with block labels consecutive integers starting at 1.
A list returned by goodSamplesGenes
or goodSamplesGenesMS
.
A list with class
attribute set to BlockInformation
, with the following componens:
A copy of the input blocks
.
A list with one component per block, giving the indices of elements in block
whose
value is the same.
A copy of input goodSamplesAndGenes
.
Number of `good' genes in goodSamplesAndGenes
.
The input blocks
restricted to `good' genes in goodSamplesAndGenes
.