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
Copy file name to clipboardexpand all lines: task1_SNP2GEX/README.md
+23-2
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,30 @@ The dataset contains one subfoler and one CSV file:
46
46
47
47
48
48
### Demo data load
49
-
We provide a dataloader for loading the raw sequences or the one-hot encoded matrix from the fasta file, and the target from the partition CSV file as the batch.
49
+
We provide a dataloader for loading the raw sequences and the truth labels from the fasta file and the partition CSV file. The example code shown below:
50
50
51
-
TO BE UPDATED SOON..
51
+
```python
52
+
import Dataset
53
+
from torch.utils.data import DataLoader
54
+
import os
55
+
DATA_ROOT = "/home/smli/ssd/miniHackathon/"
56
+
57
+
# set the `split` as "test" when you are evaluating.
58
+
# sample_list = [], or gene_list = [] means all individuals and all genes of the specific split category will be used. if you want to select subset of them, pass the list to the corresponding argument.
59
+
# you can also set target_name="raw count"/"log_count"/"rpkm" as you want
0 commit comments