I am annotating data from a GSE dataset. I want to check that the row.names are equivalent to ID to ensure that there are no mistakes.
gse10072 <- getGEO('gse10072', GSEMATRIX=TRUE)
g72 <- gse10072[[1]]
total <- pData(featureData(g72))
t1 <- data.frame(row.names(total))
t2 <- data.frame(total$ID)
why is it that when I perform a comparison
identical (t1,t2)
the output is false?
I'm sure it seems trivial, but I would like to compare other columns in the future. Why do two seemingly identical data.frames appear to be different?