Entering edit mode
Hello,
I am trying to collect information of all samples but i don't know how to get all information for all samples.
I tired the following, is there a better way to do that ?
gpl <- getGEO("GPL16791")
data <- gpl@header$sample_id
getInfo <- function(x){
gps <- getGEO(x)
gps <- unlist(gps@header)
gps <- data.frame(gps, stringsAsFactors = F)
gps <- t(gps)
gps <- unique(gps)
return(gps)
}
dat <- lapply(data, FUN = getInfo)
@Sean Davis Thanks for your message! I see you are the author! Can you please give me the example how to get all sample information of above platform for example using GEOmetadb ? I looked at the example provided by the package but it is chinese to me :-p
Edited to include code....