[BioC] How to detect and eliminate duplicate rows in an expression matrix in an automated way?
Matthew McCall
mccallm at gmail.com
Fri Mar 11 18:09:53 CET 2011
Take a look at the function duplicated. You also might want to check
that the rows are actually duplicates, not just the rownames.
Matt
On Fri, Mar 11, 2011 at 11:46 AM, <nqueralt at clinic.ub.es> wrote:
> Dear all,
>
>
>
> I have a R script that sometimes provides that error:
>
>
>
>> myExpressionSet <- new("ExpressionSet", exprs = myexprs, phenoData = myphenoData, annotation = myannotation)
>
> Error in data.frame(numeric(n), row.names = nms) :
>
> duplicate row.names: 1368290_at, 1368303_at, 1388202_at
>
>
>
> I'd like to fix that in an automated way in order to avoid the script abortion. Does anyone know how to detect and eliminate duplicate rows in an expression matrix in an automated way?
>
>
>
> Best regards,
>
>
>
> Núria
>
>
>
>
> [[alternative HTML version deleted]]
>
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>
--
Matthew N McCall, PhD
112 Arvine Heights
Rochester, NY 14611
Cell: 202-222-5880
More information about the Bioconductor
mailing list