checkSets(data, checkStructure = FALSE, useSets = NULL)data whose content
is a matrix or dataframe or array of dimension 2.FALSE, incorrect structure of data will trigger an error. If
TRUE, an appropriate flag (see output) will be set to indicate whether data has correct
structure.data that are to be checked.
Defaults to all components. This may be useful when data only contains information for some
of the sets.data).data components in the lists. This number must be the
same for all sets.nSets giving the number of rows in the data
components.checkStructure equals TRUE.
The value is TRUE if the paramter data passes a few tests of its
structure, and FALSE otherwise. The tests are not exhaustive and are meant to catch obvious user
errors rather than be bulletproof.data that contains the actual (expression, trait, eigengene) data for the corresponding
set in the form of a dataframe. This funtion checks whether data conforms to this convention and
retrieves some basic dimension information (see output).