checkSets | R Documentation |

Checks whether given sets have the correct format and retrieves dimensions.

```
checkSets(data, checkStructure = FALSE, useSets = NULL)
```

`data` |
A vector of lists; in each list there must be a component named |

`checkStructure` |
If |

`useSets` |
Optional specification of entries of the vector |

For multiset calculations, many quantities (such as expression data, traits, module eigengenes etc) are
presented by a common structure, a vector of lists (one list for each set) where each list has a
component `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).

A list with components

`nSets` |
Number of sets (length of the vector |

`nGenes` |
Number of columns in the |

`nSamples` |
A vector of length |

`structureOK` |
Only set if the argument |

Peter Langfelder, Peter.Langfelder@gmail.com

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.