本文介绍了函数calculate.overlap的输出顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在R包"VennDiagram"中使用"calculate.overlap"功能.我正在比较四组数据,如下所示:
I am using "calculate.overlap" function in R package "VennDiagram". I am comparing four sets of data as following:
library(VennDiagram)
overlap=calculate.overlap(
x=list(
"1"=1,
"2"=2,
"3"=3,
"4"=4
)
)
输出文件重叠"由15个列表组成.它们被称为:
The output file "overlap" consists of 15 lists. They are called:
$a6, a12, a11...
我怎么知道哪个列表属于哪个比较?
How do I know which list belongs to which comparison?
推荐答案
通过用红色数字1-15替换overlap[[x]]
中的x
,您可以在维恩图中的特定位置获得感兴趣的基因的完整列表.
By replacing x
in overlap[[x]]
with red number 1-15, you can get a complete list of genes of interest at the specific location in Venn diagram.
此外,您还可以使用length()
函数获得基因数量.
Also, you can get the numbers of genes by using length()
function.
这篇关于函数calculate.overlap的输出顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!