Displaying 1 result from an estimated 1 matches for "esetsub".
Did you mean:
esetsel
2008 Sep 12
1
subsetting of factor
...ows are 6000 genes, columns(1-6) are 3 genotypes
(a,b,c) with 2 repeat.
I have to use two groups each time for t-test, a vs. c or b vs. c, but I
dont know how to write correct codes.
Below is my codes, the last two lines are needed to be corrected....
library("genefilter")
ef <- exprs(esetsub)
kk <- factor(esetsub$genotype == c("a", "c"))
tt <- rowttests(ef[,c(1,2,5,6)], kk)
ps. column 1-6 is a,a,b,b,c,c
depending on the document, the kk should be a factor..
Any suggestions are really appreciated!!
Best regards,
Hui-Yi
[[alternative HTML version del...