newConsensusOptions {WGCNA} | R Documentation |
Create a list holding consensus calculation options.
Description
This function creates a list of class ConsensusOptions
that holds options for consensus calculations.
This list holds options for a single-level analysis.
Usage
newConsensusOptions(
calibration = c("full quantile", "single quantile", "none"),
# Simple quantile scaling options
calibrationQuantile = 0.95,
sampleForCalibration = TRUE,
sampleForCalibrationFactor = 1000,
# Consensus definition
consensusQuantile = 0,
useMean = FALSE,
setWeights = NULL,
suppressNegativeResults = FALSE,
# Name to prevent files clashes
analysisName = "")
Arguments
calibration |
Calibration method. One of |
calibrationQuantile |
if |
sampleForCalibration |
if |
sampleForCalibrationFactor |
Determines the number of samples for calibration: the number is
|
consensusQuantile |
Quantile at which consensus is to be defined. See details. |
useMean |
Logical: should the consensus be calculated using (weighted) mean rather than a quantile? |
setWeights |
Optional specification of weights when |
suppressNegativeResults |
Logical: should negative consensus results be replaced by 0? In a typical network
connstruction, negative topological overlap values may results with |
analysisName |
Optional character string naming the consensus analysis. Useful for identifying partial consensus calculation in hierarchical consensus analysis. |
Value
A list of type ConsensusOptions
that holds copies of the input arguments.
Author(s)
Peter Langfelder