Generate lipid sets from lipid molecule names

gen_lipidsets(molecules, min_size = 2)

Arguments

molecules

A character vector containing lipid molecule names.

min_size

Minimum number of molecules in a set to be included in enrichemnt.

Value

List of lipid sets

Examples

data(data_normalized) molecules <- rowData(data_normalized)$Molecule gen_lipidsets(molecules)
#> $Class_Cer #> [1] "Cer d18:0/C16:0" "Cer d18:0/C18:0" "Cer d18:0/C20:0" "Cer d18:0/C22:0" #> [5] "Cer d18:0/C24:0" "Cer d18:0/C24:1" "Cer d18:0/C24:2" "Cer d18:1/C16:0" #> [9] "Cer d18:1/C16:1" "Cer d18:1/C18:0" "Cer d18:1/C18:1" "Cer d18:1/C20:0" #> [13] "Cer d18:1/C20:1" "Cer d18:1/C20:2" "Cer d18:1/C22:0" "Cer d18:1/C22:1" #> [17] "Cer d18:1/C22:2" "Cer d18:1/C22:3" "Cer d18:1/C22:4" "Cer d18:1/C22:5" #> [21] "Cer d18:1/C22:6" "Cer d18:1/C24:0" "Cer d18:1/C24:1" "Cer d18:1/C24:2" #> [25] "Cer d18:1/C26:0" "Cer d18:2/C20:0" "Cer d18:2/C22:0" "Cer d18:2/C24:1" #> [29] "Cer d18:2/C24:2" #> #> $Class_LPC #> [1] "LPC 14:0" "LPC 16:0" "LPC 16:1" "LPC 18:0" "LPC 18:1" "LPC 18:2" #> [7] "LPC 20:0" "LPC 20:1" "LPC 20:2" "LPC 20:3" "LPC 20:4" "LPC 20:5" #> [13] "LPC 22:0" "LPC 22:1" "LPC 22:2" "LPC 22:3" "LPC 22:4" "LPC 22:5" #> [19] "LPC 22:6" "LPC 24:0" "LPC 24:1" "LPC 26:0" #> #> $Class_LPE #> [1] "LPE 16:0" "LPE 16:1" "LPE 18:0" "LPE 18:1" "LPE 18:2" "LPE 20:0" #> [7] "LPE 20:1" "LPE 20:2" "LPE 20:3" "LPE 20:4" "LPE 20:5" "LPE 22:4" #> [13] "LPE 22:5" "LPE 22:6" #> #> $Class_PC #> [1] "PC 30:0" "PC 30:1" "PC 30:2" "PC 32:0" "PC 32:1" #> [6] "PC 32:2" "PC 34:0" "PC 34:1" "PC 34:2" "PC 34:3" #> [11] "PC 34:4" "PC 34:5" "PC 36:0" "PC 36:1" "PC 36:2" #> [16] "PC 36:3" "PC 36:4" "PC 36:5" "PC 36:6" "PC 38:0" #> [21] "PC 38:1" "PC 38:2" "PC 38:3" "PC 38:4" "PC 38:5" #> [26] "PC 38:6" "PC 38:7" "PC 40:0" "PC 40:1" "PC 40:4" #> [31] "PC 40:5" "PC 40:6" "PC 40:7" "PC 40:8" "PC 40:2" #> [36] "PC 40:3" "PC(O-32:0)" "PC(O-34:1)" "PC(O-34:2)" "PC(O-34:3)" #> [41] "PC(O-36:2)" "PC(O-36:3)" "PC(O-36:4)" "PC(O-36:5)" "PC(O-38:0)" #> [46] "PC(O-38:2)" "PC(O-38:3)" "PC(O-38:4)" "PC(O-38:5)" "PC(O-40:0)" #> [51] "PC(O-40:1)" "PC(O-40:2)" "PC(O-40:3)" "PC(O-40:4)" "PC(O-40:5)" #> [56] "PC(O-40:6)" "PC(O-40:7)" "PC(P-32:0)" "PC(P-34:1)" "PC(P-34:2)" #> [61] "PC(P-34:3)" "PC(P-36:1)" "PC(P-36:2)" "PC(P-36:3)" "PC(P-36:4)" #> [66] "PC(P-36:5)" "PC(P-38:0)" "PC(P-38:1)" "PC(P-38:2)" "PC(P-38:3)" #> [71] "PC(P-38:4)" "PC(P-38:5)" "PC(P-38:6)" "PC(P-40:0)" "PC(P-40:1)" #> [76] "PC(P-40:2)" "PC(P-40:3)" "PC(P-40:4)" "PC(P-40:5)" "PC(P-40:6)" #> #> $Class_PE #> [1] "PE 32:0" "PE 32:1" "PE 32:2" "PE 34:1" "PE 34:2" #> [6] "PE 34:3" "PE 36:0" "PE 36:1" "PE 36:2" "PE 36:3" #> [11] "PE 36:4" "PE 36:5" "PE 38:0" "PE 38:1" "PE 38:2" #> [16] "PE 38:3" "PE 38:4" "PE 38:5" "PE 38:6" "PE 40:0" #> [21] "PE 40:5" "PE 40:6" "PE 40:7" "PE 34:1 NEG" "PE 36:1 NEG" #> [26] "PE(O-34:0)" "PE(O-34:1)" "PE(O-34:2)" "PE(O-36:0)" "PE(O-36:1)" #> [31] "PE(O-36:2)" "PE(O-36:3)" "PE(O-36:4)" "PE(O-36:5)" "PE(O-38:0)" #> [36] "PE(O-38:1)" "PE(O-38:2)" "PE(O-38:3)" "PE(O-38:4)" "PE(O-38:5)" #> [41] "PE(O-40:5)" "PE(O-40:6)" "PE(O-40:7)" "PE(P-32:0)" "PE(P-34:0)" #> [46] "PE(P-34:1)" "PE(P-34:2)" "PE(P-36:0)" "PE(P-36:1)" "PE(P-36:2)" #> [51] "PE(P-36:3)" "PE(P-36:4)" "PE(P-38:0)" "PE(P-38:1)" "PE(P-38:2)" #> [56] "PE(P-38:3)" "PE(P-38:4)" "PE(P-38:5)" "PE(P-38:6)" "PE(P-40:5)" #> [61] "PE(P-40:6)" #> #> $Class_PG #> [1] "PG 18:1/16:1" "PG 18:2/16:0" "PG 16:0/18:1" "PG 20:4/16:1" "PG 20:4/16:0" #> [6] "PG 18:2/18:1" "PG 18:1/18:1" "PG 18:2/18:0" "PG 18:1/18:0" "PG 16:1/16:0" #> [11] "PG 18:0/16:0" #> #> $Class_PI #> [1] "PI 32:1" "PI 32:2" "PI 34:0" "PI 34:1" "PI 34:2" "PI 36:0" "PI 36:1" #> [8] "PI 36:2" "PI 36:3" "PI 38:1" "PI 38:2" "PI 38:3" "PI 38:4" "PI 38:5" #> [15] "PI 40:3" "PI 40:4" "PI 40:5" "PI 32:3" "PI 34:3" "PI 36:4" "PI 38:6" #> [22] "PI 40:6" #> #> $Class_SM #> [1] "SM 18:1/16:0" "SM 18:1/16:1" "SM 18:1/18:0" #> [4] "SM 18:1/18:1" "SM 18:1/18:2" "SM 18:1/20:0" #> [7] "SM 18:1/20:1" "SM 18:1/20:2" "SM 18:1/22:0" #> [10] "SM 18:1/22:1" "SM 18:1/22:2" "SM 18:1/22:3" #> [13] "SM 18:1/24:0" "SM 18:1/24:1" "SM 18:1/24:2" #> [16] "SM 18:1/26:1" "SM 18:1/16:2" "SM 18:1/22:4" #> [19] "SM 18:1/22:5" "SM 18:1/22:6" "SM 18:1/16:0 ID264" #> [22] "SM d18:0/16:0" "SM d18:0/18:0" "SM d18:0/20:0" #> [25] "SM d18:0/22:0" "SM d18:0/24:0" #> #> $Class_SPH #> [1] "Sa1P d 18:0" "So1P d 18:1" #> #> $total_cl_16 #> [1] "LPC 16:0" "LPC 16:1" "LPE 16:0" "LPE 16:1" #> #> $total_cl_18 #> [1] "LPC 18:0" "LPC 18:1" "LPC 18:2" "LPE 18:0" "LPE 18:1" #> [6] "LPE 18:2" "Sa1P d 18:0" "So1P d 18:1" #> #> $total_cl_20 #> [1] "LPC 20:0" "LPC 20:1" "LPC 20:2" "LPC 20:3" "LPC 20:4" "LPC 20:5" #> [7] "LPE 20:0" "LPE 20:1" "LPE 20:2" "LPE 20:3" "LPE 20:4" "LPE 20:5" #> #> $total_cl_22 #> [1] "LPC 22:0" "LPC 22:1" "LPC 22:2" "LPC 22:3" "LPC 22:4" "LPC 22:5" #> [7] "LPC 22:6" "LPE 22:4" "LPE 22:5" "LPE 22:6" #> #> $total_cl_24 #> [1] "LPC 24:0" "LPC 24:1" #> #> $total_cl_30 #> [1] "PC 30:0" "PC 30:1" "PC 30:2" #> #> $total_cl_32 #> [1] "PC 32:0" "PC 32:1" "PC 32:2" "PE 32:0" "PE 32:1" #> [6] "PE 32:2" "PI 32:1" "PI 32:2" "PG 16:1/16:0" "PI 32:3" #> [11] "PE(P-32:0)" "PC(O-32:0)" "PC(P-32:0)" #> #> $total_cl_34 #> [1] "PC 34:0" "PC 34:1" "PC 34:2" #> [4] "PC 34:3" "PC 34:4" "PC 34:5" #> [7] "PE 34:1" "PE 34:2" "PE 34:3" #> [10] "PG 18:1/16:1" "PG 18:2/16:0" "PG 16:0/18:1" #> [13] "PI 34:0" "PI 34:1" "PI 34:2" #> [16] "SM 18:1/16:0" "SM 18:1/16:1" "PG 18:0/16:0" #> [19] "PI 34:3" "SM 18:1/16:2" "PE 34:1 NEG" #> [22] "PE(O-34:0)" "PE(O-34:1)" "PE(O-34:2)" #> [25] "PE(P-34:0)" "PE(P-34:1)" "PE(P-34:2)" #> [28] "Cer d18:0/C16:0" "Cer d18:1/C16:0" "Cer d18:1/C16:1" #> [31] "SM 18:1/16:0 ID264" "SM d18:0/16:0" "PC(O-34:1)" #> [34] "PC(O-34:2)" "PC(O-34:3)" "PC(P-34:1)" #> [37] "PC(P-34:2)" "PC(P-34:3)" #> #> $total_cl_36 #> [1] "PC 36:0" "PC 36:1" "PC 36:2" "PC 36:3" #> [5] "PC 36:4" "PC 36:5" "PC 36:6" "PE 36:0" #> [9] "PE 36:1" "PE 36:2" "PE 36:3" "PE 36:4" #> [13] "PE 36:5" "PG 20:4/16:1" "PG 20:4/16:0" "PG 18:2/18:1" #> [17] "PG 18:1/18:1" "PG 18:2/18:0" "PG 18:1/18:0" "PI 36:0" #> [21] "PI 36:1" "PI 36:2" "PI 36:3" "SM 18:1/18:0" #> [25] "SM 18:1/18:1" "SM 18:1/18:2" "PI 36:4" "PE 36:1 NEG" #> [29] "PE(O-36:0)" "PE(O-36:1)" "PE(O-36:2)" "PE(O-36:3)" #> [33] "PE(O-36:4)" "PE(O-36:5)" "PE(P-36:0)" "PE(P-36:1)" #> [37] "PE(P-36:2)" "PE(P-36:3)" "PE(P-36:4)" "Cer d18:0/C18:0" #> [41] "Cer d18:1/C18:0" "Cer d18:1/C18:1" "SM d18:0/18:0" "PC(O-36:2)" #> [45] "PC(O-36:3)" "PC(O-36:4)" "PC(O-36:5)" "PC(P-36:1)" #> [49] "PC(P-36:2)" "PC(P-36:3)" "PC(P-36:4)" "PC(P-36:5)" #> #> $total_cl_38 #> [1] "PC 38:0" "PC 38:1" "PC 38:2" "PC 38:3" #> [5] "PC 38:4" "PC 38:5" "PC 38:6" "PC 38:7" #> [9] "PE 38:0" "PE 38:1" "PE 38:2" "PE 38:3" #> [13] "PE 38:4" "PE 38:5" "PE 38:6" "PI 38:1" #> [17] "PI 38:2" "PI 38:3" "PI 38:4" "PI 38:5" #> [21] "SM 18:1/20:0" "SM 18:1/20:1" "SM 18:1/20:2" "PI 38:6" #> [25] "PE(O-38:0)" "PE(O-38:1)" "PE(O-38:2)" "PE(O-38:3)" #> [29] "PE(O-38:4)" "PE(O-38:5)" "PE(P-38:0)" "PE(P-38:1)" #> [33] "PE(P-38:2)" "PE(P-38:3)" "PE(P-38:4)" "PE(P-38:5)" #> [37] "PE(P-38:6)" "Cer d18:0/C20:0" "Cer d18:1/C20:0" "Cer d18:1/C20:1" #> [41] "Cer d18:1/C20:2" "Cer d18:2/C20:0" "SM d18:0/20:0" "PC(O-38:0)" #> [45] "PC(O-38:2)" "PC(O-38:3)" "PC(O-38:4)" "PC(O-38:5)" #> [49] "PC(P-38:0)" "PC(P-38:1)" "PC(P-38:2)" "PC(P-38:3)" #> [53] "PC(P-38:4)" "PC(P-38:5)" "PC(P-38:6)" #> #> $total_cl_40 #> [1] "PC 40:0" "PC 40:1" "PC 40:4" "PC 40:5" #> [5] "PC 40:6" "PC 40:7" "PC 40:8" "PE 40:0" #> [9] "PE 40:5" "PE 40:6" "PE 40:7" "PI 40:3" #> [13] "PI 40:4" "PI 40:5" "SM 18:1/22:0" "SM 18:1/22:1" #> [17] "SM 18:1/22:2" "SM 18:1/22:3" "PI 40:6" "PC 40:2" #> [21] "PC 40:3" "SM 18:1/22:4" "SM 18:1/22:5" "SM 18:1/22:6" #> [25] "PE(O-40:5)" "PE(O-40:6)" "PE(O-40:7)" "PE(P-40:5)" #> [29] "PE(P-40:6)" "Cer d18:0/C22:0" "Cer d18:1/C22:0" "Cer d18:1/C22:1" #> [33] "Cer d18:1/C22:2" "Cer d18:1/C22:3" "Cer d18:1/C22:4" "Cer d18:1/C22:5" #> [37] "Cer d18:1/C22:6" "Cer d18:2/C22:0" "SM d18:0/22:0" "PC(O-40:0)" #> [41] "PC(O-40:1)" "PC(O-40:2)" "PC(O-40:3)" "PC(O-40:4)" #> [45] "PC(O-40:5)" "PC(O-40:6)" "PC(O-40:7)" "PC(P-40:0)" #> [49] "PC(P-40:1)" "PC(P-40:2)" "PC(P-40:3)" "PC(P-40:4)" #> [53] "PC(P-40:5)" "PC(P-40:6)" #> #> $total_cl_42 #> [1] "SM 18:1/24:0" "SM 18:1/24:1" "SM 18:1/24:2" "Cer d18:0/C24:0" #> [5] "Cer d18:0/C24:1" "Cer d18:0/C24:2" "Cer d18:1/C24:0" "Cer d18:1/C24:1" #> [9] "Cer d18:1/C24:2" "Cer d18:2/C24:1" "Cer d18:2/C24:2" "SM d18:0/24:0" #> #> $total_cl_44 #> [1] "SM 18:1/26:1" "Cer d18:1/C26:0" #> #> $total_cs_0 #> [1] "LPC 14:0" "LPC 16:0" "LPC 18:0" "LPC 20:0" #> [5] "LPC 22:0" "LPC 24:0" "LPC 26:0" "LPE 16:0" #> [9] "LPE 18:0" "LPE 20:0" "PC 30:0" "PC 32:0" #> [13] "PC 34:0" "PC 36:0" "PC 38:0" "PC 40:0" #> [17] "PE 32:0" "PE 36:0" "PE 38:0" "PE 40:0" #> [21] "PI 34:0" "PI 36:0" "PG 18:0/16:0" "PE(O-34:0)" #> [25] "PE(O-36:0)" "PE(O-38:0)" "PE(P-32:0)" "PE(P-34:0)" #> [29] "PE(P-36:0)" "PE(P-38:0)" "Sa1P d 18:0" "Cer d18:0/C16:0" #> [33] "Cer d18:0/C18:0" "Cer d18:0/C20:0" "Cer d18:0/C22:0" "Cer d18:0/C24:0" #> [37] "SM d18:0/16:0" "SM d18:0/18:0" "SM d18:0/20:0" "SM d18:0/22:0" #> [41] "SM d18:0/24:0" "PC(O-32:0)" "PC(O-38:0)" "PC(O-40:0)" #> [45] "PC(P-32:0)" "PC(P-38:0)" "PC(P-40:0)" #> #> $total_cs_1 #> [1] "LPC 16:1" "LPC 18:1" "LPC 20:1" #> [4] "LPC 22:1" "LPC 24:1" "LPE 16:1" #> [7] "LPE 18:1" "LPE 20:1" "PC 30:1" #> [10] "PC 32:1" "PC 34:1" "PC 36:1" #> [13] "PC 38:1" "PC 40:1" "PE 32:1" #> [16] "PE 34:1" "PE 36:1" "PE 38:1" #> [19] "PG 16:0/18:1" "PG 18:1/18:0" "PI 32:1" #> [22] "PI 34:1" "PI 36:1" "PI 38:1" #> [25] "SM 18:1/16:0" "SM 18:1/18:0" "SM 18:1/20:0" #> [28] "SM 18:1/22:0" "SM 18:1/24:0" "PG 16:1/16:0" #> [31] "PE 34:1 NEG" "PE 36:1 NEG" "PE(O-34:1)" #> [34] "PE(O-36:1)" "PE(O-38:1)" "PE(P-34:1)" #> [37] "PE(P-36:1)" "PE(P-38:1)" "So1P d 18:1" #> [40] "Cer d18:0/C24:1" "Cer d18:1/C16:0" "Cer d18:1/C18:0" #> [43] "Cer d18:1/C20:0" "Cer d18:1/C22:0" "Cer d18:1/C24:0" #> [46] "Cer d18:1/C26:0" "SM 18:1/16:0 ID264" "PC(O-34:1)" #> [49] "PC(O-40:1)" "PC(P-34:1)" "PC(P-36:1)" #> [52] "PC(P-38:1)" "PC(P-40:1)" #> #> $total_cs_2 #> [1] "LPC 18:2" "LPC 20:2" "LPC 22:2" "LPE 18:2" #> [5] "LPE 20:2" "PC 30:2" "PC 32:2" "PC 34:2" #> [9] "PC 36:2" "PC 38:2" "PE 32:2" "PE 34:2" #> [13] "PE 36:2" "PE 38:2" "PG 18:1/16:1" "PG 18:2/16:0" #> [17] "PG 18:1/18:1" "PG 18:2/18:0" "PI 32:2" "PI 34:2" #> [21] "PI 36:2" "PI 38:2" "SM 18:1/16:1" "SM 18:1/18:1" #> [25] "SM 18:1/20:1" "SM 18:1/22:1" "SM 18:1/24:1" "SM 18:1/26:1" #> [29] "PC 40:2" "PE(O-34:2)" "PE(O-36:2)" "PE(O-38:2)" #> [33] "PE(P-34:2)" "PE(P-36:2)" "PE(P-38:2)" "Cer d18:0/C24:2" #> [37] "Cer d18:1/C16:1" "Cer d18:1/C18:1" "Cer d18:1/C20:1" "Cer d18:1/C22:1" #> [41] "Cer d18:1/C24:1" "Cer d18:2/C20:0" "Cer d18:2/C22:0" "PC(O-34:2)" #> [45] "PC(O-36:2)" "PC(O-38:2)" "PC(O-40:2)" "PC(P-34:2)" #> [49] "PC(P-36:2)" "PC(P-38:2)" "PC(P-40:2)" #> #> $total_cs_3 #> [1] "LPC 20:3" "LPC 22:3" "LPE 20:3" "PC 34:3" #> [5] "PC 36:3" "PC 38:3" "PE 34:3" "PE 36:3" #> [9] "PE 38:3" "PG 18:2/18:1" "PI 36:3" "PI 38:3" #> [13] "PI 40:3" "SM 18:1/18:2" "SM 18:1/20:2" "SM 18:1/22:2" #> [17] "SM 18:1/24:2" "PI 32:3" "PI 34:3" "PC 40:3" #> [21] "SM 18:1/16:2" "PE(O-36:3)" "PE(O-38:3)" "PE(P-36:3)" #> [25] "PE(P-38:3)" "Cer d18:1/C20:2" "Cer d18:1/C22:2" "Cer d18:1/C24:2" #> [29] "Cer d18:2/C24:1" "PC(O-34:3)" "PC(O-36:3)" "PC(O-38:3)" #> [33] "PC(O-40:3)" "PC(P-34:3)" "PC(P-36:3)" "PC(P-38:3)" #> [37] "PC(P-40:3)" #> #> $total_cs_4 #> [1] "LPC 20:4" "LPC 22:4" "LPE 20:4" "LPE 22:4" #> [5] "PC 34:4" "PC 36:4" "PC 38:4" "PC 40:4" #> [9] "PE 36:4" "PE 38:4" "PG 20:4/16:0" "PI 38:4" #> [13] "PI 40:4" "SM 18:1/22:3" "PI 36:4" "PE(O-36:4)" #> [17] "PE(O-38:4)" "PE(P-36:4)" "PE(P-38:4)" "Cer d18:1/C22:3" #> [21] "Cer d18:2/C24:2" "PC(O-36:4)" "PC(O-38:4)" "PC(O-40:4)" #> [25] "PC(P-36:4)" "PC(P-38:4)" "PC(P-40:4)" #> #> $total_cs_5 #> [1] "LPC 20:5" "LPC 22:5" "LPE 20:5" "LPE 22:5" #> [5] "PC 34:5" "PC 36:5" "PC 38:5" "PC 40:5" #> [9] "PE 36:5" "PE 38:5" "PE 40:5" "PG 20:4/16:1" #> [13] "PI 38:5" "PI 40:5" "SM 18:1/22:4" "PE(O-36:5)" #> [17] "PE(O-38:5)" "PE(O-40:5)" "PE(P-38:5)" "PE(P-40:5)" #> [21] "Cer d18:1/C22:4" "PC(O-36:5)" "PC(O-38:5)" "PC(O-40:5)" #> [25] "PC(P-36:5)" "PC(P-38:5)" "PC(P-40:5)" #> #> $total_cs_6 #> [1] "LPC 22:6" "LPE 22:6" "PC 36:6" "PC 38:6" #> [5] "PC 40:6" "PE 38:6" "PE 40:6" "PI 38:6" #> [9] "PI 40:6" "SM 18:1/22:5" "PE(O-40:6)" "PE(P-38:6)" #> [13] "PE(P-40:6)" "Cer d18:1/C22:5" "PC(O-40:6)" "PC(P-38:6)" #> [17] "PC(P-40:6)" #> #> $total_cs_7 #> [1] "PC 38:7" "PC 40:7" "PE 40:7" "SM 18:1/22:6" #> [5] "PE(O-40:7)" "Cer d18:1/C22:6" "PC(O-40:7)" #>