You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find a tutorial showing simplified analysis steps for those we used in our paper in this [notebook](nbs/99-tutorials/05-walkthrough-with-gtex-data.ipynb) using the GTEx v8 data.
145
+
142
146
143
147
### Basic Usage
144
148
@@ -161,28 +165,6 @@ correlation = ccc(x, y)
161
165
print(f"CCC coefficient: {correlation:.3f}")
162
166
```
163
167
164
-
### Controlling Debug Logging
165
-
166
-
By default, CCC-GPU runs silently without debug output. You can enable detailed logging (including CUDA device information, memory usage, and processing details) using the `CCC_GPU_LOGGING` environment variable:
167
-
168
-
```bash
169
-
# Run with default behavior (no debug output)
170
-
python your_script.py
171
-
172
-
# Enable debug logging for troubleshooting
173
-
CCC_GPU_LOGGING=1 python your_script.py
174
-
175
-
# Or set it for the session
176
-
export CCC_GPU_LOGGING=1
177
-
python your_script.py
178
-
```
179
-
180
-
This is particularly useful for:
181
-
- Debugging GPU memory issues
182
-
- Understanding CUDA device utilization
183
-
- Monitoring batch processing performance
184
-
- Troubleshooting installation problems
185
-
186
168
### Working with Gene Expression Data
187
169
188
170
CCC-GPU is particularly useful for genomics applications:
@@ -220,6 +202,28 @@ for i, j in zip(top_indices[0], top_indices[1]):
220
202
221
203
Refer to the original CCC Repository for more usage examples: [https://github.com/greenelab/ccc](https://github.com/greenelab/ccc)
222
204
205
+
### Controlling Debug Logging
206
+
207
+
By default, CCC-GPU runs silently without debug output. You can enable detailed logging (including CUDA device information, memory usage, and processing details) using the `CCC_GPU_LOGGING` environment variable:
208
+
209
+
```bash
210
+
# Run with default behavior (no debug output)
211
+
python your_script.py
212
+
213
+
# Enable debug logging for troubleshooting
214
+
CCC_GPU_LOGGING=1 python your_script.py
215
+
216
+
# Or set it for the session
217
+
export CCC_GPU_LOGGING=1
218
+
python your_script.py
219
+
```
220
+
221
+
This is particularly useful for:
222
+
- Debugging GPU memory issues
223
+
- Understanding CUDA device utilization
224
+
- Monitoring batch processing performance
225
+
- Troubleshooting installation problems
226
+
223
227
## Performance Benchmarks
224
228
225
229
CCC-GPU provides significant performance improvements over CPU-only implementations:
0 commit comments