I have a .csv file with gene counts and sample names. I would like to be able to keep the two header rows. For example, I'd like to load a file in the format below:
Sample
Gene 1 2
gene1 272.43 911.83
gene2 212.29 151.55
gene3 39.41 22.17
The ultimate goal is to plot sums of all gene counts by sample. Any ideas how to do this in R?
Thank you, tmd