newBlockInformation: Create a list holding information about dividing data into...

Description Usage Arguments Value Author(s) See Also

View source: R/consensusTOM.R

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

1
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 goodSamplesGenes or goodSamplesGenesMS.

Value

A list with class attribute set to BlockInformation, with the following componens:

blocks

A copy of the input blocks.

blockGenes

A list with one component per block, giving the indices of elements in block whose value is the same.

goodSamplesAndGenes

A copy of input goodSamplesAndGenes.

nGGenes

Number of ‘good’ genes in goodSamplesAndGenes.

gBlocks

The input blocks restricted to ‘good’ genes in goodSamplesAndGenes.

Author(s)

Peter Langfelder

See Also

goodSamplesGenes, goodSamplesGenesMS.


nosarcasm/WGCNA documentation built on May 28, 2019, 1:01 p.m.