comparelists(made4)
comparelists()所属R语言包:made4
Return the intersect, difference and union between 2 vectors
返回相交,相差2向量和工会
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This is a very simple function which compares two vectors, x and y. It returns the intersection and unique lists. It is useful for comparing two genelists.
这是一个非常简单的功能,比较两个向量,X和Y。它返回的路口和独特的名单。它是有用的比较2 genelists的。
用法----------Usage----------
comparelists(dx,dy, ...)
## S3 method for class 'comparelists'
print(x, ...)
参数----------Arguments----------
参数:dx,dy
A vector.
一个向量。
参数:x
An object from comparelists.
从comparelists的对象。
参数:...
further arguments passed to or from other methods.
通过进一步的论据或其他方法。
Details
详情----------Details----------
reports on the intersect, difference and union between two lists.
相交,两个列表之间的差异和工会报告。
值----------Value----------
An object of class comparelists:
一个类的对象comparelists:
参数:intersect
Vector containing the intersect between x and y
向量的X和Y之间的相交
参数:Set.Diff
Vector containing the elements unique to X obtained using setdiff
独特的X元素向量获得使用setdiff
参数:XinY
Numeric, indicating the number of elements of x in y
数字,表明在y x的元素数量
参数:YinX
Numeric, indicating the number of elements of y in x
数字,表示在x,y的元素数量
参数:Length.X
Numeric, the number of elements in x
数字,x中的元素数量
参数:Length.Y
Numeric, the number of elements in y
数字,y中的元素数量
参数:...
Further arguments passed to or from other methods
进一步的参数传递或其他方法
作者(S)----------Author(s)----------
Aedin Culhane
参见----------See Also----------
See also intersect, setdiff
还可以看intersect,setdiff
举例----------Examples----------
a<-sample(LETTERS,20)
b<-sample(LETTERS,10)
z<-comparelists(a,b)
z$Set.Diff
z$intersect
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|