Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何手动排序UpsetR的设置大小条形图_R_Upsetr - Fatal编程技术网

如何手动排序UpsetR的设置大小条形图

如何手动排序UpsetR的设置大小条形图,r,upsetr,R,Upsetr,我有以下代码: library(UpSetR) listInput <- list(one = c(1, 2, 3, 5, 7, 8, 11, 12, 13), two = c(1, 2, 4, 5, 10), three = c(1, 5, 6, 7, 8, 9, 10, 12, 13)) upset(fromList(listInput)) 库(UpSetR) listInput您可以手动将集合输入到set

我有以下代码:

library(UpSetR)

listInput <- list(one = c(1, 2, 3, 5, 7, 8, 11, 12, 13), 
                  two = c(1, 2, 4, 5, 10),
                  three = c(1, 5, 6, 7, 8, 9, 10, 12, 13))

upset(fromList(listInput))
库(UpSetR)

listInput您可以手动将集合输入到
set
并设置
keep.order=TRUE

upset(fromList(listInput[c(1,2,3)]), 
      keep.order = T, 
      sets = c("one", "two", "three"))

您可以手动将集合输入到
set
并设置
keep.order=TRUE

upset(fromList(listInput[c(1,2,3)]), 
      keep.order = T, 
      sets = c("one", "two", "three"))