[BioC] regarding package ArrayExpress
audrey at ebi.ac.uk
audrey at ebi.ac.uk
Thu Sep 10 15:33:52 CEST 2009
Thanks for the trick, it seems to work.
But this brings another problem: the identifier in the array design file
and the row names in the expression file are now different. So maybe the
right question is why do we have duplicate identifiers in the expression
file and do we really want to read a file with those duplicates?
Sorry, maybe we should continue this conversation off list.
To the people using the package ArrayExpress on the processed data, I am
sorry for the problems that are still to be fixed. Thank you for your
feedback, it helps to identify the problems and I can try to fix them.
> Without tweaking read.table, you'd have to read row names as one of the
> data columns, then make.names on that set of names and set the row names
> to the modified ones. So, something like
> d <- read.table("foo.tab") ## if read.table("foo.tab", row.names=1) fails
> rownames(d) <- make.names(d[,1], unique=TRUE)
> d <- d[,-1] ## to remove the column used
> Whether these newly made "unique" row names are what you need is a good
> question... :)
> On Thu, 10 Sep 2009, audrey at ebi.ac.uk wrote:
>> Dear Amit,
>> You are not making any mistakes. This is the proper way of calling the
>> functions to create an object from a processed dataset. However the
>> problem comes from the dataset itself. It contains duplicate probe
>> identifiers as row names, which is not allowed by the function
>> that is used in the procset function.
>> Unfortunately I do not have an idea on how to prevent this. Does someone
>> know how I could allow duplicate row names in my function?
>> Best regards,
>> Audrey Kauffmann
>> EMBL - EBI
>> Cambridge UK
>> +44 (0) 1223 492 631
>>> Hello! List,
>>> I am trying to build an object from Array Express processed data using
>>> bioconductor package ArrayExpress. I did following:-
>>> CAGE99d = getAE("E-GAGE-99",type="processed")
>>> colname = getcolproc(CAGE99d)
>>> CAGE99p = procset(CAGE99d, colname)
>>> and I got following error:-
>>> Error in `row.names<-.data.frame`(`*tmp*`, value = c(6995L, 7017L,
>>> duplicate 'row.names' are not allowed
>>> In addition: Warning message:
>>> non-unique values when setting 'row.names': ?R:A-MEXP-58:210099?,
>>> ?R:A-MEXP-58:210100?, ?R:A-MEXP-58:210111?,
>>> [... truncated]
>>> I am not able to figure out mistake I am making. Please Help!
>>> [[alternative HTML version deleted]]
>>> Bioconductor mailing list
>>> Bioconductor at stat.math.ethz.ch
>>> Search the archives:
>> Bioconductor mailing list
>> Bioconductor at stat.math.ethz.ch
>> Search the archives:
More information about the Bioconductor