[BioC] Correlation matrix and pca on matrix with NA values

Daniel Brewer daniel.brewer at icr.ac.uk
Tue Apr 10 16:11:01 CEST 2007


I have an expression matrix that contains NA values.  What is the best
way to get:
1) prcomp()  (Exits with "Error in svd(x, nu = 0) : infinite or missing
values in 'x'")
2) cor() (Exits with "Error in cor(exprs(Sperger)) : missing
observations in cov/cor")
to work with this type of matrix.

Many Thanks

Dan

-- 
**************************************************************
Daniel Brewer, Ph.D.
Institute of Cancer Research
Email: daniel.brewer at icr.ac.uk
**************************************************************

The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addre...{{dropped}}



More information about the Bioconductor mailing list