R tutorial - mothur

Hi all,

Im not sure this is the right place to post when looking for help using the mothur data in R, so appoloiges if it is not.

Basically, I am following the ‘R tutorial - mothur’ and in the box plots section the command…

shared.ra<-shared/apply(shared, 1, sum)

is returning me with the following error…

rror in FUN(newX[, i], …) : invalid ‘type’ (character) of argument

I have tried editing the command to overcome the incorrect use of the character but to no avail?

Any help is greatly appriciated.

ah, i put that together before we put column headings on the shared file. you might want to try adding header=T when you do read.table and adjust accordingly throughout the tutorial…