Hello. I have followed conversation re:plotting a ca.

Have try with data.

I receive this error.


> plotCA(codonCA, rowFac=fac,pch=c(18,20), cols=c("red", "blue"),
plotrowLabels=TRUE)
Error in fac2char(rowFac, pch) :
  Number does not equal to number of factor levels

I see error in function:

fac2char<-function(fac, newLabels) {
>            cLab<- class(newLabels)
>            if (!length(levels(fac))==length(__newLabels)) stop("Number
>     does not equal to number of factor levels")

May you explain what this means?

Thank
Aaral

	[[alternative HTML version deleted]]

