SFT_fit {BioNERO} | R Documentation |
Pick power to fit network to a scale-free topology
SFT_fit(exp, net_type = "signed", rsquared = 0.8, cor_method = "spearman")
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". |
A list containing:
powerOptimal power based on scale-free topology fit
plotA ggplot object displaying main statistics of the SFT fit test
Fabricio Almeida-Silva
data(filt.se) sft <- SFT_fit(filt.se, cor_method="pearson")