Entering edit mode
8.0 years ago
Edalat
▴
30
Hi,
I have a large gene expression dataset in Excel/CSV file, I transposed it by R function (switched columns and rows):
a <- read.table(file.csv,sep="\t")
b <- t(a)
now how to change in the structure and the data types of the data frame after the transposition?
What do you mean by change in the structure and the data types? What happens when you transpose and what would you like to change to?
I want rows become columns and columns become rows,but the output does not have the frame of table(I mean there is not rows and columns),it is only one long row after transposition.