The process of constructing a similar plot inggplot()follows the same general procedure as that for a simple linear regression. First, make a data frame that has the observed variables used in the model and pre
So, I would like to replace the values of "0", "1" and "." from the "HapA" and "HapB" columns according to the REF and ALT columns for every row in the data frame. For example: a) for the first row I want to change the "1" in HapA column for the "C" in the ALT colu...