suma2Venn(maSigPro)
suma2Venn()所属R语言包:maSigPro
Creates a Venn Diagram from a matrix of characters
创建一个字符矩阵维恩图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
suma2Venn transforms a matrix of characters into a binary matrix and creates a vennDiagram of the common elements between columns
suma2Venn转换成二进制矩阵的字符矩阵,创建一个列之间的共同要素vennDiagram
用法----------Usage----------
suma2Venn(x, ...)
参数----------Arguments----------
参数:x
data frame of character values
数据框的字符值
参数:...
plotting arguments for the vennDiagram function
为vennDiagram功能的绘图参数
Details
详情----------Details----------
suma2Venn creates a list of all elements of a matrix or data frame of characters and computes the presence/absence of each element in each column of the matrix. This results is a numeric matrix of 1 and 0 which can be taken by the vennDiagram to generate a Venn Plot
suma2Venn创建一个矩阵的字符或数据框的所有元素的列表,并计算在矩阵的每一列每个元素的存在/没有。这样的结果是1和0的数字矩阵可以通过vennDiagram产生维恩图
值----------Value----------
suma2Venn returns a Venn Plot such as that created by the vennDiagram funcion
suma2Venn返回如由vennDiagramfuncion创建维恩图解
作者(S)----------Author(s)----------
Ana Conesa, aconesa@ivia.es
参见----------See Also----------
vennDiagram
vennDiagram
举例----------Examples----------
a <- c("a","b","c", "d", "e", NA, NA)
b <- c("a","b","f", NA, NA, NA, NA)
c <- c("b","e","f", "h", "i", "j", "k")
x <- cbind(a, b,c)
suma2Venn(x)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|