Affy exprs multicore processing
0
0
Entering edit mode
Fiona • 0
@fiona-12453
Last seen 5.8 years ago
Edinburgh

Hi

I am trying to run this code on 149 affy array samples

boxplot(as.data.frame(log2(exprs(raw.data))))

Currently it only seems to be using 1 core out of my 16 core processor, is it possible to run this multithreaded on the same processor to utilise the rest of the cores?

Thanks

affy exprs multicore • 835 views
1
Entering edit mode

This should be fast; exprs() extracts an existing matrix, so you've got something like

> m = matrix(runif(30000 * 149), 30000)
> system.time(boxplot(as.data.frame(log2(m))))
user  system elapsed
7.696   0.144   8.577 

Most of the time is spent in drawing the plot, which cannot be parallelized. Maybe something else is going on, e.g., 'raw.data' is not what you (or maybe I) think it is?

0
Entering edit mode

The drawing of the plot must be my issue then (I estimate it will take over 45 minutes to run). Thank you for clarifying that the process cannot be parallelised.

0
Entering edit mode

Maybe if you clarified, by editing your question, what 'raw.data' was, and perhaps also adding the output of the sessionInfo() command, it might be more apparent why this takes so long for you. You could also try to repeat my 'simulation'; how long does that take?