0

Hi I'm a uni student (not studying programming or computer science, so I have minimal experience with R).

I've imported a .csv file into a data frame, containing the names of genes on the x-axis and tissue samples on the y-axis. As part of an assignment, I have a question asking me to write code that sorts the gene names alphabetically AND shows what the first 15 gene names would be. I'm marked on whether my code work and how concise/efficient it is. Could someone help me? I have attached a snippet of the dataframe for context. Thanks!

enter image description here

0 Answers0