newBlockInformation {WGCNA} | R Documentation |
Create a list holding information about dividing data into blocks
Description
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.
Usage
newBlockInformation(blocks, goodSamplesAndGenes)
Arguments
blocks |
A vector giving block labels. It is assumed to be a numeric vector with block labels consecutive integers starting at 1. |
goodSamplesAndGenes |
A list returned by |
Value
A list with class
attribute set to BlockInformation
, with the following componens:
blocks |
A copy of the input |
blockGenes |
A list with one component per block, giving the indices of elements in |
goodSamplesAndGenes |
A copy of input |
nGGenes |
Number of ‘good’ genes in |
gBlocks |
The input |
Author(s)
Peter Langfelder
See Also
goodSamplesGenes
, goodSamplesGenesMS
.