SFT_fit: Pick power to fit network to a scale-free topology

View source: R/gcn_inference.R

SFT_fitR Documentation

Pick power to fit network to a scale-free topology

Description

Pick power to fit network to a scale-free topology

Usage

SFT_fit(exp, net_type = "signed", rsquared = 0.8, cor_method = "spearman")

Arguments

exp

A gene expression data frame with genes in row names and samples in column names or a 'SummarizedExperiment' object.

net_type

Network type. One of 'signed', 'signed hybrid' or 'unsigned'. Default is signed.

rsquared

R squared cutoff. Default is 0.8.

cor_method

Correlation method. One of "pearson", "biweight" or "spearman". Default is "spearman".

Value

A list containing:

  • powerOptimal power based on scale-free topology fit

  • plotA ggplot object displaying main statistics of the SFT fit test

Author(s)

Fabricio Almeida-Silva

See Also

pickSoftThreshold

Examples

data(filt.se)
sft <- SFT_fit(filt.se, cor_method = "pearson")

almeidasilvaf/BioNERO documentation built on Oct. 9, 2024, 1:49 a.m.