affyPLM boxplots for subset of samples
1
0
Entering edit mode
Juliet Hannah ▴ 360
@juliet-hannah-4531
Last seen 5.6 years ago
United States

I have hundreds of arrays for which I would like to obtain NUSE and RLE plots. I would like to make one call to affyPLM, but then plot a subset (boxplot), perhaps a few random samples that cover the entire set. Otherwise, there will be too many samples to show effectively in one boxplot. What is a way to go about this?  Example below taken from affyPLM vignette.

require(affydata)
library("affyPLM")
data(Dilution)
Dilution = updateObject(Dilution)
Pset <- fitPLM(Dilution)
boxplot(Pset)

 

 

affyPLM • 1.2k views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 13 hours ago
United States

Unfortunately the PLMset class never had a [ function, so it's not as simple as

boxplot(Pset[,1:3])

In addition, if you want NUSE or RLE values, you should use either NUSE or RLE rather than boxplot, because you can return the values.

Let's say you have 200 samples, and you want to do a NUSE plot on a random subset of 25:

nuse.dat <- NUSE(Pset, type = "values")

boxplot(nuse.dat[,sample(1:200, 25)])

You can do the same for RLE.

ADD COMMENT

Login before adding your answer.

Traffic: 606 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6