SFT_fit {BioNERO} | R 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")

[Package BioNERO version 1.0.4 Index]