Return the hypotheses in the dataset which constitute CAPRI's hypotheses.

as.hypotheses(x, cause = NA, effect = NA)

Arguments

x

A TRONCO compliant dataset.

cause

A list of genes to use as causes

effect

A list of genes to use as effects

Value

The hypotheses in the dataset which constitute CAPRI's hypotheses.

Examples

data(test_dataset)
as.hypotheses(test_dataset)
#>        cause type                 cause event      effect type               
#>   [1,] "Pattern"                  "XOR_EZH2"       "ins_del"                 
#>   [2,] "Pattern"                  "XOR_EZH2"       "ins_del"                 
#>   [3,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>   [4,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>   [5,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>   [6,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>   [7,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>   [8,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>   [9,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [10,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [11,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [12,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [13,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [14,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [15,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [16,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [17,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [18,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [19,] "Pattern"                  "XOR_EZH2"       "missense_point_mutations"
#>  [20,] "Pattern"                  "XOR_EZH2"       "nonsense_ins_del"        
#>  [21,] "Pattern"                  "XOR_EZH2"       "nonsense_ins_del"        
#>  [22,] "Pattern"                  "XOR_EZH2"       "nonsense_ins_del"        
#>  [23,] "Pattern"                  "XOR_EZH2"       "nonsense_point_mutations"
#>  [24,] "Pattern"                  "XOR_EZH2"       "nonsense_point_mutations"
#>  [25,] "Pattern"                  "XOR_EZH2"       "nonsense_point_mutations"
#>  [26,] "ins_del"                  "TET2"           "Pattern"                 
#>  [27,] "ins_del"                  "ASXL1"          "Pattern"                 
#>  [28,] "missense_point_mutations" "SETBP1"         "Pattern"                 
#>  [29,] "missense_point_mutations" "NRAS_Ex2_3"     "Pattern"                 
#>  [30,] "missense_point_mutations" "KRAS_Ex2_3"     "Pattern"                 
#>  [31,] "missense_point_mutations" "TET2"           "Pattern"                 
#>  [32,] "missense_point_mutations" "CBL_Ex_8_9"     "Pattern"                 
#>  [33,] "missense_point_mutations" "IDH2_R140"      "Pattern"                 
#>  [34,] "missense_point_mutations" "SF3B1_Ex_12_15" "Pattern"                 
#>  [35,] "missense_point_mutations" "JARID_2_Ex1_18" "Pattern"                 
#>  [36,] "missense_point_mutations" "EED_Ex2_12"     "Pattern"                 
#>  [37,] "missense_point_mutations" "CEBPA"          "Pattern"                 
#>  [38,] "missense_point_mutations" "EPHB3"          "Pattern"                 
#>  [39,] "missense_point_mutations" "ETNK1"          "Pattern"                 
#>  [40,] "missense_point_mutations" "GATA2"          "Pattern"                 
#>  [41,] "missense_point_mutations" "IRAK4"          "Pattern"                 
#>  [42,] "missense_point_mutations" "MTA2"           "Pattern"                 
#>  [43,] "missense_point_mutations" "CSF3R"          "Pattern"                 
#>  [44,] "missense_point_mutations" "KIT"            "Pattern"                 
#>  [45,] "nonsense_ins_del"         "WT1"            "Pattern"                 
#>  [46,] "nonsense_ins_del"         "RUNX_1"         "Pattern"                 
#>  [47,] "nonsense_ins_del"         "CEBPA"          "Pattern"                 
#>  [48,] "nonsense_point_mutations" "TET2"           "Pattern"                 
#>  [49,] "nonsense_point_mutations" "ASXL1"          "Pattern"                 
#>  [50,] "nonsense_point_mutations" "CSF3R"          "Pattern"                 
#>  [51,] "Pattern"                  "OR_CSF3R"       "ins_del"                 
#>  [52,] "Pattern"                  "OR_CSF3R"       "ins_del"                 
#>  [53,] "Pattern"                  "OR_CSF3R"       "ins_del"                 
#>  [54,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [55,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [56,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [57,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [58,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [59,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [60,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [61,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [62,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [63,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [64,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [65,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [66,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [67,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [68,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [69,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [70,] "Pattern"                  "OR_CSF3R"       "missense_point_mutations"
#>  [71,] "Pattern"                  "OR_CSF3R"       "nonsense_ins_del"        
#>  [72,] "Pattern"                  "OR_CSF3R"       "nonsense_ins_del"        
#>  [73,] "Pattern"                  "OR_CSF3R"       "nonsense_ins_del"        
#>  [74,] "Pattern"                  "OR_CSF3R"       "nonsense_point_mutations"
#>  [75,] "Pattern"                  "OR_CSF3R"       "nonsense_point_mutations"
#>  [76,] "Pattern"                  "OR_CSF3R"       "nonsense_point_mutations"
#>  [77,] "ins_del"                  "TET2"           "Pattern"                 
#>  [78,] "ins_del"                  "EZH2"           "Pattern"                 
#>  [79,] "ins_del"                  "ASXL1"          "Pattern"                 
#>  [80,] "missense_point_mutations" "SETBP1"         "Pattern"                 
#>  [81,] "missense_point_mutations" "NRAS_Ex2_3"     "Pattern"                 
#>  [82,] "missense_point_mutations" "KRAS_Ex2_3"     "Pattern"                 
#>  [83,] "missense_point_mutations" "TET2"           "Pattern"                 
#>  [84,] "missense_point_mutations" "EZH2"           "Pattern"                 
#>  [85,] "missense_point_mutations" "CBL_Ex_8_9"     "Pattern"                 
#>  [86,] "missense_point_mutations" "IDH2_R140"      "Pattern"                 
#>  [87,] "missense_point_mutations" "SF3B1_Ex_12_15" "Pattern"                 
#>  [88,] "missense_point_mutations" "JARID_2_Ex1_18" "Pattern"                 
#>  [89,] "missense_point_mutations" "EED_Ex2_12"     "Pattern"                 
#>  [90,] "missense_point_mutations" "CEBPA"          "Pattern"                 
#>  [91,] "missense_point_mutations" "EPHB3"          "Pattern"                 
#>  [92,] "missense_point_mutations" "ETNK1"          "Pattern"                 
#>  [93,] "missense_point_mutations" "GATA2"          "Pattern"                 
#>  [94,] "missense_point_mutations" "IRAK4"          "Pattern"                 
#>  [95,] "missense_point_mutations" "MTA2"           "Pattern"                 
#>  [96,] "missense_point_mutations" "KIT"            "Pattern"                 
#>  [97,] "nonsense_ins_del"         "WT1"            "Pattern"                 
#>  [98,] "nonsense_ins_del"         "RUNX_1"         "Pattern"                 
#>  [99,] "nonsense_ins_del"         "CEBPA"          "Pattern"                 
#> [100,] "nonsense_point_mutations" "TET2"           "Pattern"                 
#> [101,] "nonsense_point_mutations" "EZH2"           "Pattern"                 
#> [102,] "nonsense_point_mutations" "ASXL1"          "Pattern"                 
#>        effect event    
#>   [1,] "TET2"          
#>   [2,] "ASXL1"         
#>   [3,] "SETBP1"        
#>   [4,] "NRAS_Ex2_3"    
#>   [5,] "KRAS_Ex2_3"    
#>   [6,] "TET2"          
#>   [7,] "CBL_Ex_8_9"    
#>   [8,] "IDH2_R140"     
#>   [9,] "SF3B1_Ex_12_15"
#>  [10,] "JARID_2_Ex1_18"
#>  [11,] "EED_Ex2_12"    
#>  [12,] "CEBPA"         
#>  [13,] "EPHB3"         
#>  [14,] "ETNK1"         
#>  [15,] "GATA2"         
#>  [16,] "IRAK4"         
#>  [17,] "MTA2"          
#>  [18,] "CSF3R"         
#>  [19,] "KIT"           
#>  [20,] "WT1"           
#>  [21,] "RUNX_1"        
#>  [22,] "CEBPA"         
#>  [23,] "TET2"          
#>  [24,] "ASXL1"         
#>  [25,] "CSF3R"         
#>  [26,] "XOR_EZH2"      
#>  [27,] "XOR_EZH2"      
#>  [28,] "XOR_EZH2"      
#>  [29,] "XOR_EZH2"      
#>  [30,] "XOR_EZH2"      
#>  [31,] "XOR_EZH2"      
#>  [32,] "XOR_EZH2"      
#>  [33,] "XOR_EZH2"      
#>  [34,] "XOR_EZH2"      
#>  [35,] "XOR_EZH2"      
#>  [36,] "XOR_EZH2"      
#>  [37,] "XOR_EZH2"      
#>  [38,] "XOR_EZH2"      
#>  [39,] "XOR_EZH2"      
#>  [40,] "XOR_EZH2"      
#>  [41,] "XOR_EZH2"      
#>  [42,] "XOR_EZH2"      
#>  [43,] "XOR_EZH2"      
#>  [44,] "XOR_EZH2"      
#>  [45,] "XOR_EZH2"      
#>  [46,] "XOR_EZH2"      
#>  [47,] "XOR_EZH2"      
#>  [48,] "XOR_EZH2"      
#>  [49,] "XOR_EZH2"      
#>  [50,] "XOR_EZH2"      
#>  [51,] "TET2"          
#>  [52,] "EZH2"          
#>  [53,] "ASXL1"         
#>  [54,] "SETBP1"        
#>  [55,] "NRAS_Ex2_3"    
#>  [56,] "KRAS_Ex2_3"    
#>  [57,] "TET2"          
#>  [58,] "EZH2"          
#>  [59,] "CBL_Ex_8_9"    
#>  [60,] "IDH2_R140"     
#>  [61,] "SF3B1_Ex_12_15"
#>  [62,] "JARID_2_Ex1_18"
#>  [63,] "EED_Ex2_12"    
#>  [64,] "CEBPA"         
#>  [65,] "EPHB3"         
#>  [66,] "ETNK1"         
#>  [67,] "GATA2"         
#>  [68,] "IRAK4"         
#>  [69,] "MTA2"          
#>  [70,] "KIT"           
#>  [71,] "WT1"           
#>  [72,] "RUNX_1"        
#>  [73,] "CEBPA"         
#>  [74,] "TET2"          
#>  [75,] "EZH2"          
#>  [76,] "ASXL1"         
#>  [77,] "OR_CSF3R"      
#>  [78,] "OR_CSF3R"      
#>  [79,] "OR_CSF3R"      
#>  [80,] "OR_CSF3R"      
#>  [81,] "OR_CSF3R"      
#>  [82,] "OR_CSF3R"      
#>  [83,] "OR_CSF3R"      
#>  [84,] "OR_CSF3R"      
#>  [85,] "OR_CSF3R"      
#>  [86,] "OR_CSF3R"      
#>  [87,] "OR_CSF3R"      
#>  [88,] "OR_CSF3R"      
#>  [89,] "OR_CSF3R"      
#>  [90,] "OR_CSF3R"      
#>  [91,] "OR_CSF3R"      
#>  [92,] "OR_CSF3R"      
#>  [93,] "OR_CSF3R"      
#>  [94,] "OR_CSF3R"      
#>  [95,] "OR_CSF3R"      
#>  [96,] "OR_CSF3R"      
#>  [97,] "OR_CSF3R"      
#>  [98,] "OR_CSF3R"      
#>  [99,] "OR_CSF3R"      
#> [100,] "OR_CSF3R"      
#> [101,] "OR_CSF3R"      
#> [102,] "OR_CSF3R"