Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

newBlockInformation

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 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


WGCNA

Weighted Correlation Network Analysis

v1.70-3
GPL (>= 2)
Authors
Peter Langfelder <Peter.Langfelder@gmail.com> and Steve Horvath <SHorvath@mednet.ucla.edu> with contributions by Chaochao Cai, Jun Dong, Jeremy Miller, Lin Song, Andy Yip, and Bin Zhang
Initial release
2021-02-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.