I have a dataframe:
                 [,1]
A01              127281
A02              328077
A03              99573
A04               88251
concatanated_data 34318
I am getting the dimensions as:
dim(mapped_reads)
[1] 5 1
and rownames as
rownames(mapped_reads)
[1] "1"
I want the first column to say "Samples" and the second column to say "Counts". How do I rename the rows when it is reading the dataframe as having only one column?
 
    