I am using vcfR package. I have to break the repeated col. values into same col vertically displaying the output.
For e.g.:
Sample Chr p-value AF MQ Sample Chr p-value AF MQ Sample Chr p-value AF MQ
A1 1 0.0533 30 40 A1 1 0.0633 35 45 A1 2 0.0753 35 45
I am trying to get the output,
Sample Chr p-value AF MQ
A1 1 0.0533 30 40
A1 1 0.0633 35 45
A1 2 0.0753 35 45
I am trying with groupby function, sapply function but unable to get such output as displayed above in the frame. Pls help..