This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Basic question: Varying sample numbers of the groups

Hi,

Sorry for the simple question. I am analysing microarrays and I had to exclude a few due to the outlier detection. How do I adjust the code below, so that it recognizes that now group 1 has 6 samples and group 2 has 4 samples, instead of 7 each?

pData(eset)$Condition = rep(paste(1:2), each = 7)

Thanks!

arrayqualitymetrics r basic
paste(c(rep(1,6),rep(2,4)))
 [1] "1" "1" "1" "1" "1" "1" "2" "2" "2" "2"

rep(paste(1:2), each = 7)
 [1] "1" "1" "1" "1" "1" "1" "1" "2" "2" "2" "2" "2" "2" "2"

0 answers

No answers yet.

Log in to answer this question.