Category: R

triple ruin

An almost straightforward riddle from The Riddler involving a triple gambler’s ruin: Dawn competes against three players Alessandra, Berenike, and Chinue, with probabilities of winning one round ¾, ½, and...continue reading.

An easy to convert list to long table

 Say you have a list with different lengths of vectors, e.g. > head(genesets_list)$KEGG_GLYCOLYSIS_GLUCONEOGENESIS [1] “ACSS2”   “GCK”     “PGK2”    “PGK1”    “PDHB”    “PDHA1”   “PDHA…continue reading.