I have a dataset(df) that looks a follows:
I have split df by the miR21 cutoff of 8 in dfn21h (>= 8) and dfn21l (< 8).
Now I want to split df by the cutoff of 8 (miR21) and ad a new column ('group') to my dataset with 1 for >= 8 and 0 for < 8.
What is the best way to do this?
