can someone tell me if there is an easier way to do this in R - create a
design matrix? thanks.
> design <- model.matrix(~
-1+factor(c(1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5)))
# Creates an appropriate design matrix
can someone tell me
hello folks,
i am learning R and microarray analysis from scratch using different sites.
today i am doing an exercise from
http://manuals.bioinformatics.ucr.edu/home/R_BioCondManual#R_functions
the section i am at is 2. Affymetrix data analysis.
I understand the syntax given in this section
>
>
> I am new to this group - joined today. I am in because i have an assignment
> to do using R => microarray analysis using affy (bioconductor).
>
> while reading some tutorials, i came across this and i am stuck. i want to
> understand it and would appreciate if anyone can tell me.
>
>
3 matches
Mail list logo