rownames(myexprsunique) = make.unique(rownames(myexprsunique))
myExpressionSet <- new("ExpressionSet", exprs = myexprsunique, phenoData =
myphenoData, annotation = myannotation)

This is more of an R question than a BioC question, and don't forget to make
the phenoData row names unique too.


On Wed, Oct 12, 2011 at 11:59 PM, <nqueralt@clinic.ub.es> wrote:

> Dear all,
>
>
>
> I am facing the problem that comes up when an ExpressionSet object is
> intended to be created parsing a matrix expression data with duplicate row
> names:
>
>
>
> > try(myExpressionSet <- new("ExpressionSet", exprs = myexprsunique,
> phenoData = myphenoData, annotation = myannotation, check.names=FALSE))
>
> Error in data.frame(numeric(n), row.names = nms) :
>
>  duplicate row.names: blu
>
>
>
> I was wondering if there exists a way to create this ExpressionSet object
> although duplicate row names exist in the expression matrix data parsed?
> Many thanks in advance.
>
>
>
> Kind regards,
>
>
>
> Núria
>
>
>
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>
>


-- 
If people do not believe that mathematics is simple,
it is only because they do not realize how complicated life is. John von
Neumann<http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Von_Neumann.html>

	[[alternative HTML version deleted]]

