Skip to content

Commit a12b39f

Browse files
committed
Update benchmarks and setup_devel_workspace.R
preprocessQuantile() on a MethylSet rather than a RGChannelSet to workaround limitation in my package development workflow
1 parent 819564b commit a12b39f

3 files changed

+355
-89
lines changed

benchmarking_DelayedArray_branch.Rmd

+28-6
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ MSet <- minfiData::MsetEx
3131
system.time(MSetRaw_v1.25.1 <- minfi::preprocessRaw(RGSet))
3232
system.time(MSetSWAN_v1.25.1 <- minfi::preprocessSWAN(RGSet))
3333
system.time(MSetIllumina_v1.25.1 <- minfi::detectionP(RGSet))
34-
system.time(MSetQuantile_v1.25.1 <- minfi::preprocessQuantile(RGSet))
34+
system.time(MSetNoob_v1.25.1 <- minfi::preprocessNoob(RGSet))
3535
system.time(detP_v1.25.1 <- minfi::detectionP(RGSet))
36+
system.time(oob_v1.25.1 <- minfi::getOOB(RGSet))
3637
38+
system.time(MSetQuantile_v1.25.1 <- minfi::preprocessQuantile(MSet))
3739
system.time(MSetFixedOutliers_v1.25.1 <- minfi::fixMethOutliers(MSet))
3840
```
3941

@@ -68,9 +70,11 @@ options(DelayedArray.block.size = DEFAULT_BLOCK_SIZE)
6870
system.time(MSetRaw <- preprocessRaw(RGSet))
6971
system.time(MSetIllumina <- preprocessIllumina(RGSet))
7072
system.time(MSetSWAN <- preprocessSWAN(RGSet))
71-
system.time(MSetQuantile <- preprocessQuantile(RGSet))
73+
system.time(MSetNoob <- preprocessNoob(RGSet))
7274
system.time(detP <- detectionP(RGSet))
75+
system.time(oob <- getOOB(RGSet))
7376
77+
system.time(MSetQuantile <- preprocessQuantile(MSet))
7478
system.time(MSetFixedOutliers <- fixMethOutliers(MSet))
7579
```
7680

@@ -92,11 +96,16 @@ system.time(
9296
MSetIllumina_in_memory_DelayedMatrix <- preprocessIllumina(
9397
RGSet_in_memory_DelayedMatrix))
9498
system.time(
95-
MSetQuantile_in_memory_DelayedMatrix <- preprocessQuantile(
99+
MSetNoob_in_memory_DelayedMatrix <- preprocessNoob(
96100
RGSet_in_memory_DelayedMatrix))
97101
system.time(
98102
detP_in_memory_DelayedMatrix <- detectionP(RGSet_in_memory_DelayedMatrix))
103+
system.time(
104+
oob_in_memory_DelayedMatrix <- getOOB(RGSet_in_memory_DelayedMatrix))
99105
106+
system.time(
107+
MSetQuantile_in_memory_DelayedMatrix <- preprocessQuantile(
108+
MSet_in_memory_DelayedMatrix))
100109
system.time(
101110
fixMethOutliers_in_memory_DelayedMatrix <- fixMethOutliers(
102111
MSet_in_memory_DelayedMatrix))
@@ -117,11 +126,16 @@ system.time(
117126
MSetIllumina_in_memory_DelayedMatrix <- preprocessIllumina(
118127
RGSet_in_memory_DelayedMatrix))
119128
system.time(
120-
MSetQuantile_in_memory_DelayedMatrix <- preprocessQuantile(
129+
MSetNoob_in_memory_DelayedMatrix <- preprocessNoob(
121130
RGSet_in_memory_DelayedMatrix))
122131
system.time(
123132
detP_in_memory_DelayedMatrix <- detectionP(RGSet_in_memory_DelayedMatrix))
133+
system.time(
134+
oob_in_memory_DelayedMatrix <- getOOB(RGSet_in_memory_DelayedMatrix))
124135
136+
system.time(
137+
MSetQuantile_in_memory_DelayedMatrix <- preprocessQuantile(
138+
MSet_in_memory_DelayedMatrix))
125139
system.time(
126140
fixMethOutliers_in_memory_DelayedMatrix <- fixMethOutliers(
127141
MSet_in_memory_DelayedMatrix))
@@ -146,11 +160,15 @@ system.time(
146160
MSetIllumina_on_disk_DelayedMatrix <- preprocessIllumina(
147161
RGSet_on_disk_DelayedMatrix))
148162
system.time(
149-
MSetQuantile_on_disk_DelayedMatrix <- preprocessQuantile(
163+
MSetNoob_on_disk_DelayedMatrix <- preprocessNoob(
150164
RGSet_on_disk_DelayedMatrix))
151165
system.time(
152166
detP_on_disk_DelayedMatrix <- detectionP(RGSet_on_disk_DelayedMatrix))
167+
system.time(oob_on_disk_DelayedMatrix <- getOOB(RGSet_in_memory_DelayedMatrix))
153168
169+
system.time(
170+
MSetQuantile_on_disk_DelayedMatrix <- preprocessQuantile(
171+
MSet_on_disk_DelayedMatrix))
154172
system.time(
155173
fixMethOutliers_in_memory_DelayedMatrix <- fixMethOutliers(
156174
MSet_on_disk_DelayedMatrix))
@@ -171,11 +189,15 @@ system.time(
171189
MSetIllumina_on_disk_DelayedMatrix <- preprocessIllumina(
172190
RGSet_on_disk_DelayedMatrix))
173191
system.time(
174-
MSetQuantile_on_disk_DelayedMatrix <- preprocessQuantile(
192+
MSetNoob_on_disk_DelayedMatrix <- preprocessNoob(
175193
RGSet_on_disk_DelayedMatrix))
176194
system.time(
177195
detP_on_disk_DelayedMatrix <- detectionP(RGSet_on_disk_DelayedMatrix))
196+
system.time(oob_on_disk_DelayedMatrix <- getOOB(RGSet_in_memory_DelayedMatrix))
178197
198+
system.time(
199+
MSetQuantile_on_disk_DelayedMatrix <- preprocessQuantile(
200+
MSet_on_disk_DelayedMatrix))
179201
system.time(fixMethOutliers_in_memory_DelayedMatrix <-
180202
fixMethOutliers(MSet_on_disk_DelayedMatrix))
181203
```

0 commit comments

Comments
 (0)