softConnectivity(WGCNA)
softConnectivity()所属R语言包:WGCNA
Calculates connectivity of a weighted network.
计算加权网络的连通性。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given expression data or a similarity, the function constructs the adjacency matrix and for each node calculates its connectivity, that is the sum of the adjacency to the other nodes.
鉴于表达数据或相似度,函数构造的邻接矩阵,并为每个节点计算它的连接,这是到其他节点的邻接的总和。
用法----------Usage----------
softConnectivity(
datExpr,
corFnc = "cor", corOptions = "use = 'p'",
type = "unsigned",
power = if (type == "signed") 15 else 6,
blockSize = 1500,
minNSamples = NULL,
verbose = 2, indent = 0)
softConnectivity.fromSimilarity(
similarity,
type = "unsigned",
power = if (type == "signed") 15 else 6,
blockSize = 1500,
verbose = 2, indent = 0)
参数----------Arguments----------
参数:datExpr
a data frame containing the expression data, with rows corresponding to samples and columns to genes.
含有的表达数据的一个数据框,行对应的样品和列的基因。
参数:similarity
a similarity matrix: a square symmetric matrix with entries between -1 and 1.
相似性矩阵:-1和1之间的条目的正方形的对称矩阵。
参数:corFnc
character string giving the correlation function to be used for the adjacency calculation. Recommended choices are "cor" and "bicor", but other functions can be used as well.
字符字符串,给出要用于邻接计算的相关函数。推荐选择是"cor"和"bicor",以及其他功能都可以使用。
参数:corOptions
character string giving further options to be passed to the correlation function.
提供进一步的相关函数的选项传递的字符串。
参数:type
network type. Allowed values are (unique abbreviations of) "unsigned", "signed", "signed hybrid".
网络类型。允许的值是()"unsigned","signed","signed hybrid"唯一的缩写。
参数:power
soft thresholding power.
软阈值功率。
参数:blockSize
block size in which adjacency is to be calculated. Too low (say below 100) may make the calculation inefficient, while too high may cause R to run out of physical memory and slow down the computer. Should be chosen such that an array of doubles of size (number of genes) * (block size) fits into available physical memory.
块大小,其中邻接要被计算。过低(比如100以下)可以使计算效率不高,而过高可能会导致R运行的物理内存和减慢计算机。应选择使得一个数组双打大小(基因的数目)*(块大小)装入可用物理内存。
参数:minNSamples
minimum number of samples available for the calculation of adjacency for the adjacency to be considered valid. If not given, defaults to the greater of ..minNSamples (currently 4) and number of samples divided by 3. If the number of samples falls below this threshold, the connectivity of the corresponding gene will be returned as NA.
样品可用于计算被认为是有效的邻接的邻接的最小数目。如果没有给出,默认为..minNSamples(目前4)样品数除以3。如果低于此阈值的样本数,相应的基因的连通将被返回NA。
参数:verbose
integer level of verbosity. Zero means silent, higher values make the output progressively more and more verbose.
整数的详细程度。零表示沉默,较高的值使输出越来越多,更详细。
参数:indent
indentation for diagnostic messages. Zero means no indentation, each unit adds two spaces.
缩进诊断消息。零表示无压痕,每个单元增加两个空格。
值----------Value----------
A vector with one entry per gene giving the connectivity of each gene in the weighted network.
与每个基因的一个条目给加权网络中的每一个基因的连通的向量。
(作者)----------Author(s)----------
Steve Horvath
参考文献----------References----------
Analysis", Statistical Applications in Genetics and Molecular Biology: Vol. 4: No. 1, Article 17
参见----------See Also----------
adjacency
adjacency
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|