Thank you so much for your help, Kevin!
I found that the code below does not work. It seems that is because the number of columns (13, including the first column of the data file, 'gene_name') does not match that of rows (12)
rownames(metadata) <- colnames(data)
-> Error in .rowNamesDF<-(x, value = value) : invalid 'row.names' length
Could you help me with how to exclude the 'gene_name' column from the PCA analysis?
-Joshua