I'm new to R and I'm having trouble understanding what all the parameters in read.table() do. I have a text file with a header, and roughly 50 rows. Columns are separated by tabs. I did the following.
data <- read.table("/Accounts/changy/Desktop/GreekProject/outputWithoutQuantity.txt",header=TRUE,sep="\t", quote = "")
Now, I want to create a matrix, but omit the header (first row). Also, read.table generates numbered rows for each of my already numbered rows, and I don't want my matrix to be numbered at all, so I would need to omit the first two columns as well. Can anyone point me to the right direction? I know
matrixData <- as.data.frame.matrix(data)
does it, but it doesn't format the rows and columns as I would like. Thanks for any help in advance, from a complete beginner to R!
here's a snapshot of my data set, upon request.