@nirgrahamuk, thank you very much. This is really helpful. One question, it seems like the actual rownames (such as Gene_1, Gene_2, Gene3, etc) are missing. Should I assign it from the Data_Input dataframe like the below:
rownames(Data_Input) = rownames(combination_values)
or, is there are way to assign in the code provided by you?
dput(combination_values)
structure(list(Sample_778981_v_Sample_778951 = c(0, 43.5, -4,
0, 3, 0, 4, 0, -1, -30.5, -6, 4, 0, 0, -2, -12, 0, -200, 35),
Sample_778981_v_Sample_778961 = c(0, 15, 15, -1, 4, 0, -35,
0, 0, -15.5, 14, 9, 0, 0, 2, -8, 0, -169, -128), Sample_778981_v_Sample_778971 = c(0L,
77L, -7L, 0L, 2L, 0L, -12L, 0L, 0L, -42L, 15L, -5L, 0L, 0L,
1L, -10L, 0L, -142L, 159L), Sample_778981_v_Sample_778991 = c(0L,
-37L, 16L, 0L, 6L, 0L, -52L, 0L, 0L, -27L, -29L, 5L, -1L,
0L, -2L, -17L, 0L, -287L, -9L), Sample_778981_v_Sample_779001 = c(0,
63.5, 15, -1, 6, 0, -13, 0, 0, -23.5, -9, -10, -1, 0, 0,
-26, 0, -394, -239), Sample_778951_v_Sample_778961 = c(0,
-28.5, 19, -1, 1, 0, -39, 0, 1, 15, 20, 5, 0, 0, 4, 4, 0,
31, -163), Sample_778951_v_Sample_778971 = c(0, 33.5, -3,
0, -1, 0, -16, 0, 1, -11.5, 21, -9, 0, 0, 3, 2, 0, 58, 124
), Sample_778951_v_Sample_778991 = c(0, -80.5, 20, 0, 3,
0, -56, 0, 1, 3.5, -23, 1, -1, 0, 0, -5, 0, -87, -44), Sample_778951_v_Sample_779001 = c(0,
20, 19, -1, 3, 0, -17, 0, 1, 7, -3, -14, -1, 0, 2, -14, 0,
-194, -274), Sample_778961_v_Sample_778971 = c(0, 62, -22,
1, -2, 0, 23, 0, 0, -26.5, 1, -14, 0, 0, -1, -2, 0, 27, 287
), Sample_778961_v_Sample_778991 = c(0, -52, 1, 1, 2, 0,
-17, 0, 0, -11.5, -43, -4, -1, 0, -4, -9, 0, -118, 119),
Sample_778961_v_Sample_779001 = c(0, 48.5, 0, 0, 2, 0, 22,
0, 0, -8, -23, -19, -1, 0, -2, -18, 0, -225, -111), Sample_778971_v_Sample_778991 = c(0L,
-114L, 23L, 0L, 4L, 0L, -40L, 0L, 0L, 15L, -44L, 10L, -1L,
0L, -3L, -7L, 0L, -145L, -168L), Sample_778971_v_Sample_779001 = c(0,
-13.5, 22, -1, 4, 0, -1, 0, 0, 18.5, -24, -5, -1, 0, -1,
-16, 0, -252, -398), Sample_778991_v_Sample_779001 = c(0,
100.5, -1, -1, 0, 0, 39, 0, 0, 3.5, 20, -15, 0, 0, 2, -9,
0, -107, -230)), row.names = c(NA, -19L), class = c("tbl_df",
"tbl", "data.frame"))