title: How to transpose data frame , keeping row and column names using R
body: <p>I have a gene expression dataset that currently has columns of patient samples and rows of genes. I need to transpose the dataset so that the genes are now columns and rows are now patient samples using R. I have found a few ways yet none have been successful. I appreciate your help in advance! :)</p>