trim GSE17674 to canonical dataset layout
Browse files- bulk/GSE17674/README.md +0 -87
- bulk/GSE17674/analysis/enrichment_id_mapping.csv +0 -0
- bulk/GSE17674/analysis/enrichment_input_genes.csv +0 -140
- bulk/GSE17674/analysis/enrichment_universe.csv +0 -0
- bulk/GSE17674/analysis/immune_genes.csv +0 -518
- bulk/GSE17674/analysis/immune_samples.csv +0 -40
- bulk/GSE17674/analysis/modules.csv +0 -7
- bulk/GSE17674/analysis/survival.csv +0 -0
- bulk/GSE17674/eligibility.md +0 -31
- bulk/GSE17674/export.json +0 -13
- bulk/GSE17674/files.sha256 +0 -17
- bulk/GSE17674/qa.json +0 -164
- bulk/GSE17674/run.R +0 -1185
- bulk/GSE17674/sessionInfo.txt +0 -64
- bulk/GSE17674/source_manifest.csv +0 -5
bulk/GSE17674/README.md
DELETED
|
@@ -1,87 +0,0 @@
|
|
| 1 |
-
# GSE17674 - Ewing sarcoma family tumours, primary tumour versus metastasis
|
| 2 |
-
|
| 3 |
-
Accession: GSE17674 (bulk microarray, Affymetrix HG-U133A, GPL96).
|
| 4 |
-
Eligibility conclusion: **eligible** (see eligibility.md).
|
| 5 |
-
|
| 6 |
-
## Shortest run command
|
| 7 |
-
|
| 8 |
-
```
|
| 9 |
-
"$P2M_RSCRIPT" /400T/maweicheng/P2M.db/results/candidate_intake_20261031/bulk/GSE17674/run.R \
|
| 10 |
-
/400T/maweicheng/P2M.db/results/candidate_intake_20261031/bulk/GSE17674 all
|
| 11 |
-
```
|
| 12 |
-
|
| 13 |
-
Completed downloads are detected by name and non-zero size and are skipped,
|
| 14 |
-
so re-running regenerates every artifact from the cached source files.
|
| 15 |
-
|
| 16 |
-
## Input scale
|
| 17 |
-
|
| 18 |
-
The ArrayExpress mirror of this Series ships one processed sample table per
|
| 19 |
-
GSM inside `E-GEOD-17674.processed.1.zip`, each a two-column
|
| 20 |
-
`ID_REF` / `VALUE` table over the same 54,675 GPL96 probe sets. The
|
| 21 |
-
Series has 62 GSM: 32 primary, 7 metastasis, 5 recurrence tumour specimens
|
| 22 |
-
and 18 normal skeletal muscle. Values are RMA log2 expression produced by
|
| 23 |
-
the submitter, so the analysis uses them directly and does not run a second
|
| 24 |
-
log2, quantile pass, `edgeR` TMM or limma-voom. No count-style single-cell
|
| 25 |
-
fields (counts, nCount, percent.mt, doublet calls) are reported.
|
| 26 |
-
|
| 27 |
-
## Design and comparison
|
| 28 |
-
|
| 29 |
-
39 specimens: 32 primary Ewing sarcoma family tumours and 7 metastases,
|
| 30 |
-
covering Ewing sarcoma (28), PNET (10) and Askin tumour (2) as one entity.
|
| 31 |
-
GEO and the SDRF record no patient identifier, so the
|
| 32 |
-
Primary-versus-Metastasis comparison uses an unpaired design. The 18
|
| 33 |
-
normal muscle and 5 recurrence specimens are excluded, so no Normal class
|
| 34 |
-
exists. Differential expression is reported as log2FC of Metastasis minus
|
| 35 |
-
Primary, so a positive log2FC means higher expression in the metastasis.
|
| 36 |
-
|
| 37 |
-
## Modules
|
| 38 |
-
|
| 39 |
-
| module | output | implementation |
|
| 40 |
-
| --- | --- | --- |
|
| 41 |
-
| DEG | analysis/deg.csv | limma, unpaired design ~ sample_class |
|
| 42 |
-
| GO and KEGG enrichment | analysis/enrichment.csv | enrichGO / enricher, universe = mapped tested genes, BH |
|
| 43 |
-
| PPI | analysis/ppi.csv | STRING v11.0, 9606, combined score >= 700 |
|
| 44 |
-
| Immune | analysis/immune.csv | CIBERSORT with LM22, 1000 permutations, QN = TRUE |
|
| 45 |
-
| Survival | analysis/survival.csv | univariate Cox per gene on overall survival (SDRF ovs months + status), BH |
|
| 46 |
-
|
| 47 |
-
Per-module outcomes are recorded in analysis/modules.csv with the status
|
| 48 |
-
vocabulary success / empty_result / not_applicable / failed, and repeated in
|
| 49 |
-
qa.json. An empty analysis table always ships with an empty_result status; no
|
| 50 |
-
empty table is reported as a successful negative result.
|
| 51 |
-
|
| 52 |
-
GSVA is not used: the installed GSVA segfaults during .onLoad on this host
|
| 53 |
-
(invalid permissions). No GSVA-dependent score is reported anywhere.
|
| 54 |
-
|
| 55 |
-
## Limitations
|
| 56 |
-
|
| 57 |
-
With 32 primary and 7 metastasis specimens the differential-expression and
|
| 58 |
-
enrichment results are exploratory and descriptive; they are not population
|
| 59 |
-
estimates. Pearson correlations in ppi.csv are computed over the same small
|
| 60 |
-
groups and are descriptive only. Immune fractions are deconvolution estimates
|
| 61 |
-
from expression, not measured cell counts. Patient identity is not reported,
|
| 62 |
-
so the design is unpaired even where specimen names share a prefix.
|
| 63 |
-
|
| 64 |
-
## Known source-data defects (carried forward, not silently repaired)
|
| 65 |
-
|
| 66 |
-
1. **Patient identity not reported.** The SDRF carries no patient field.
|
| 67 |
-
2. **Treatment timing not recorded.** No treatment field exists; it is
|
| 68 |
-
recorded as not_recorded rather than assumed untreated.
|
| 69 |
-
3. **Duplicate symbols.** Reporter identifiers were averaged per symbol;
|
| 70 |
-
the retained count is recorded in qa.json and processing_parameters.csv.
|
| 71 |
-
|
| 72 |
-
## Archive format deviation
|
| 73 |
-
|
| 74 |
-
The release ships GSE17674_expression.tar.gz, a gzip tar containing
|
| 75 |
-
expression.csv and metadata.csv. The historical Hub convention is
|
| 76 |
-
<accession>_expression.rar, but no RAR writer exists on this host (no rar
|
| 77 |
-
binary, 7z cannot create RAR, no rarfile or py7zr module); tar.gz is used
|
| 78 |
-
instead and this deviation is recorded in qa.json rather than silently
|
| 79 |
-
renaming. The content layout matches scripts/export_expression.R: a
|
| 80 |
-
features x samples expression.csv with a quoted header row and NA for missing
|
| 81 |
-
values, plus metadata.csv aligned to the expression columns.
|
| 82 |
-
|
| 83 |
-
## Treatment timing
|
| 84 |
-
|
| 85 |
-
Neither GEO nor the ArrayExpress SDRF records treatment for these specimens,
|
| 86 |
-
so treatment_before_collection is recorded as not_recorded and deliberately
|
| 87 |
-
not written as "No". See eligibility.md for the sources checked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/analysis/enrichment_id_mapping.csv
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
bulk/GSE17674/analysis/enrichment_input_genes.csv
DELETED
|
@@ -1,140 +0,0 @@
|
|
| 1 |
-
"group","gene","entrez_id"
|
| 2 |
-
"Metastasis","ABCA3","21"
|
| 3 |
-
"Metastasis","ABCC1","4363"
|
| 4 |
-
"Metastasis","ADH1B","125"
|
| 5 |
-
"Metastasis","AGER","177"
|
| 6 |
-
"Metastasis","ANP32A","8125"
|
| 7 |
-
"Metastasis","ANXA3","306"
|
| 8 |
-
"Metastasis","AQP3","360"
|
| 9 |
-
"Metastasis","AQP4","361"
|
| 10 |
-
"Metastasis","C1orf116","79098"
|
| 11 |
-
"Metastasis","C4BPA","722"
|
| 12 |
-
"Metastasis","CA4","762"
|
| 13 |
-
"Metastasis","CCBL2",
|
| 14 |
-
"Metastasis","CLDN18","51208"
|
| 15 |
-
"Metastasis","COL4A5","1287"
|
| 16 |
-
"Metastasis","CP","1356"
|
| 17 |
-
"Metastasis","CST6","1474"
|
| 18 |
-
"Metastasis","CTSE","1510"
|
| 19 |
-
"Metastasis","CYP4B1","1580"
|
| 20 |
-
"Metastasis","DHCR24","1718"
|
| 21 |
-
"Metastasis","DMBT1","1755"
|
| 22 |
-
"Metastasis","E2F6","1876"
|
| 23 |
-
"Metastasis","EDC3","80153"
|
| 24 |
-
"Metastasis","EFTUD1",
|
| 25 |
-
"Metastasis","ETF1","2107"
|
| 26 |
-
"Metastasis","FAM107A","11170"
|
| 27 |
-
"Metastasis","FCN3","8547"
|
| 28 |
-
"Metastasis","FOLR1","2348"
|
| 29 |
-
"Metastasis","FTSJ3","117246"
|
| 30 |
-
"Metastasis","FZD5","7855"
|
| 31 |
-
"Metastasis","GALNT12","79695"
|
| 32 |
-
"Metastasis","GPRC5A","9052"
|
| 33 |
-
"Metastasis","GTPBP4","23560"
|
| 34 |
-
"Metastasis","HSD17B6","8630"
|
| 35 |
-
"Metastasis","IREB2","3658"
|
| 36 |
-
"Metastasis","KIF11","3832"
|
| 37 |
-
"Metastasis","KIF23","9493"
|
| 38 |
-
"Metastasis","KRT7","3855"
|
| 39 |
-
"Metastasis","LAMP3","27074"
|
| 40 |
-
"Metastasis","LPCAT1","79888"
|
| 41 |
-
"Metastasis","LTF","4057"
|
| 42 |
-
"Metastasis","MLPH","79083"
|
| 43 |
-
"Metastasis","MMD","23531"
|
| 44 |
-
"Metastasis","MPST","4357"
|
| 45 |
-
"Metastasis","MPZL2","10205"
|
| 46 |
-
"Metastasis","MRPL46","26589"
|
| 47 |
-
"Metastasis","MSH2","4436"
|
| 48 |
-
"Metastasis","MSLN","10232"
|
| 49 |
-
"Metastasis","MTG1","92170"
|
| 50 |
-
"Metastasis","MUC1","4582"
|
| 51 |
-
"Metastasis","NEDD4L","23327"
|
| 52 |
-
"Metastasis","NKX2-1","7080"
|
| 53 |
-
"Metastasis","PGC","5225"
|
| 54 |
-
"Metastasis","PIH1D1","55011"
|
| 55 |
-
"Metastasis","PLA2G1B","5319"
|
| 56 |
-
"Metastasis","PPL","5493"
|
| 57 |
-
"Metastasis","RFC3","5983"
|
| 58 |
-
"Metastasis","SFTPB","6439"
|
| 59 |
-
"Metastasis","SFTPC","6440"
|
| 60 |
-
"Metastasis","SFTPD","6441"
|
| 61 |
-
"Metastasis","SLC34A2","10568"
|
| 62 |
-
"Metastasis","SLC6A14","11254"
|
| 63 |
-
"Metastasis","SLPI","6590"
|
| 64 |
-
"Metastasis","SNRPA1","6627"
|
| 65 |
-
"Metastasis","TACSTD2","4070"
|
| 66 |
-
"Metastasis","TCF21","6943"
|
| 67 |
-
"Metastasis","TTC1","7265"
|
| 68 |
-
"Metastasis","WIF1","11197"
|
| 69 |
-
"Metastasis","YTHDF2","51441"
|
| 70 |
-
"Metastasis","ZNF354A","6940"
|
| 71 |
-
"All","ABCA3","21"
|
| 72 |
-
"All","ABCC1","4363"
|
| 73 |
-
"All","ADH1B","125"
|
| 74 |
-
"All","AGER","177"
|
| 75 |
-
"All","ANP32A","8125"
|
| 76 |
-
"All","ANXA3","306"
|
| 77 |
-
"All","AQP3","360"
|
| 78 |
-
"All","AQP4","361"
|
| 79 |
-
"All","C1orf116","79098"
|
| 80 |
-
"All","C4BPA","722"
|
| 81 |
-
"All","CA4","762"
|
| 82 |
-
"All","CCBL2",
|
| 83 |
-
"All","CLDN18","51208"
|
| 84 |
-
"All","COL4A5","1287"
|
| 85 |
-
"All","CP","1356"
|
| 86 |
-
"All","CST6","1474"
|
| 87 |
-
"All","CTSE","1510"
|
| 88 |
-
"All","CYP4B1","1580"
|
| 89 |
-
"All","DHCR24","1718"
|
| 90 |
-
"All","DMBT1","1755"
|
| 91 |
-
"All","E2F6","1876"
|
| 92 |
-
"All","EDC3","80153"
|
| 93 |
-
"All","EFTUD1",
|
| 94 |
-
"All","ENPP1","5167"
|
| 95 |
-
"All","ETF1","2107"
|
| 96 |
-
"All","FAM107A","11170"
|
| 97 |
-
"All","FCN3","8547"
|
| 98 |
-
"All","FOLR1","2348"
|
| 99 |
-
"All","FTSJ3","117246"
|
| 100 |
-
"All","FZD5","7855"
|
| 101 |
-
"All","GALNT12","79695"
|
| 102 |
-
"All","GPRC5A","9052"
|
| 103 |
-
"All","GTPBP4","23560"
|
| 104 |
-
"All","HSD17B6","8630"
|
| 105 |
-
"All","IREB2","3658"
|
| 106 |
-
"All","KIF11","3832"
|
| 107 |
-
"All","KIF23","9493"
|
| 108 |
-
"All","KRT7","3855"
|
| 109 |
-
"All","LAMP3","27074"
|
| 110 |
-
"All","LPCAT1","79888"
|
| 111 |
-
"All","LTF","4057"
|
| 112 |
-
"All","MLPH","79083"
|
| 113 |
-
"All","MMD","23531"
|
| 114 |
-
"All","MPST","4357"
|
| 115 |
-
"All","MPZL2","10205"
|
| 116 |
-
"All","MRPL46","26589"
|
| 117 |
-
"All","MSH2","4436"
|
| 118 |
-
"All","MSLN","10232"
|
| 119 |
-
"All","MTG1","92170"
|
| 120 |
-
"All","MUC1","4582"
|
| 121 |
-
"All","NEDD4L","23327"
|
| 122 |
-
"All","NKX2-1","7080"
|
| 123 |
-
"All","PGC","5225"
|
| 124 |
-
"All","PIH1D1","55011"
|
| 125 |
-
"All","PLA2G1B","5319"
|
| 126 |
-
"All","PPL","5493"
|
| 127 |
-
"All","RFC3","5983"
|
| 128 |
-
"All","SFTPB","6439"
|
| 129 |
-
"All","SFTPC","6440"
|
| 130 |
-
"All","SFTPD","6441"
|
| 131 |
-
"All","SLC34A2","10568"
|
| 132 |
-
"All","SLC6A14","11254"
|
| 133 |
-
"All","SLPI","6590"
|
| 134 |
-
"All","SNRPA1","6627"
|
| 135 |
-
"All","TACSTD2","4070"
|
| 136 |
-
"All","TCF21","6943"
|
| 137 |
-
"All","TTC1","7265"
|
| 138 |
-
"All","WIF1","11197"
|
| 139 |
-
"All","YTHDF2","51441"
|
| 140 |
-
"All","ZNF354A","6940"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 69 |
-
"CCR3"
|
| 70 |
-
"CCR5"
|
| 71 |
-
"CCR6"
|
| 72 |
-
"CCR7"
|
| 73 |
-
"CD160"
|
| 74 |
-
"CD180"
|
| 75 |
-
"CD19"
|
| 76 |
-
"CD1A"
|
| 77 |
-
"CD1B"
|
| 78 |
-
"CD1C"
|
| 79 |
-
"CD1D"
|
| 80 |
-
"CD1E"
|
| 81 |
-
"CD2"
|
| 82 |
-
"CD209"
|
| 83 |
-
"CD22"
|
| 84 |
-
"CD244"
|
| 85 |
-
"CD247"
|
| 86 |
-
"CD27"
|
| 87 |
-
"CD28"
|
| 88 |
-
"CD300A"
|
| 89 |
-
"CD33"
|
| 90 |
-
"CD37"
|
| 91 |
-
"CD38"
|
| 92 |
-
"CD3D"
|
| 93 |
-
"CD3E"
|
| 94 |
-
"CD3G"
|
| 95 |
-
"CD4"
|
| 96 |
-
"CD40"
|
| 97 |
-
"CD40LG"
|
| 98 |
-
"CD5"
|
| 99 |
-
"CD6"
|
| 100 |
-
"CD69"
|
| 101 |
-
"CD7"
|
| 102 |
-
"CD70"
|
| 103 |
-
"CD72"
|
| 104 |
-
"CD79A"
|
| 105 |
-
"CD79B"
|
| 106 |
-
"CD80"
|
| 107 |
-
"CD86"
|
| 108 |
-
"CD8A"
|
| 109 |
-
"CD96"
|
| 110 |
-
"CDA"
|
| 111 |
-
"CDC25A"
|
| 112 |
-
"CDH12"
|
| 113 |
-
"CDHR1"
|
| 114 |
-
"CDK6"
|
| 115 |
-
"CEACAM3"
|
| 116 |
-
"CEACAM8"
|
| 117 |
-
"CEMP1"
|
| 118 |
-
"CFP"
|
| 119 |
-
"CHI3L1"
|
| 120 |
-
"CHI3L2"
|
| 121 |
-
"CHST15"
|
| 122 |
-
"CHST7"
|
| 123 |
-
"CLC"
|
| 124 |
-
"CLCA3P"
|
| 125 |
-
"CLEC10A"
|
| 126 |
-
"CLEC2D"
|
| 127 |
-
"CLEC4A"
|
| 128 |
-
"CLEC7A"
|
| 129 |
-
"CLIC2"
|
| 130 |
-
"CMA1"
|
| 131 |
-
"COL8A2"
|
| 132 |
-
"COLQ"
|
| 133 |
-
"CPA3"
|
| 134 |
-
"CR2"
|
| 135 |
-
"CRISP3"
|
| 136 |
-
"CRTAM"
|
| 137 |
-
"CRYBB1"
|
| 138 |
-
"CSF1"
|
| 139 |
-
"CSF2"
|
| 140 |
-
"CSF3R"
|
| 141 |
-
"CST7"
|
| 142 |
-
"CTLA4"
|
| 143 |
-
"CTSG"
|
| 144 |
-
"CTSW"
|
| 145 |
-
"CXCL10"
|
| 146 |
-
"CXCL11"
|
| 147 |
-
"CXCL13"
|
| 148 |
-
"CXCL3"
|
| 149 |
-
"CXCL5"
|
| 150 |
-
"CXCL9"
|
| 151 |
-
"CXCR1"
|
| 152 |
-
"CXCR2"
|
| 153 |
-
"CXCR5"
|
| 154 |
-
"CXCR6"
|
| 155 |
-
"CXorf57"
|
| 156 |
-
"CYP27A1"
|
| 157 |
-
"CYP27B1"
|
| 158 |
-
"DACH1"
|
| 159 |
-
"DAPK2"
|
| 160 |
-
"DCSTAMP"
|
| 161 |
-
"DEFA4"
|
| 162 |
-
"DENND5B"
|
| 163 |
-
"DEPDC5"
|
| 164 |
-
"DGKA"
|
| 165 |
-
"DHRS11"
|
| 166 |
-
"DHX58"
|
| 167 |
-
"DPEP2"
|
| 168 |
-
"DPP4"
|
| 169 |
-
"DSC1"
|
| 170 |
-
"DUSP2"
|
| 171 |
-
"EAF2"
|
| 172 |
-
"EBI3"
|
| 173 |
-
"EFNA5"
|
| 174 |
-
"EGR2"
|
| 175 |
-
"ELANE"
|
| 176 |
-
"EMR1"
|
| 177 |
-
"EMR2"
|
| 178 |
-
"EMR3"
|
| 179 |
-
"EPB41"
|
| 180 |
-
"EPHA1"
|
| 181 |
-
"ETS1"
|
| 182 |
-
"ETV3"
|
| 183 |
-
"FAIM3"
|
| 184 |
-
"FAM124B"
|
| 185 |
-
"FAM174B"
|
| 186 |
-
"FAM198B"
|
| 187 |
-
"FAM65B"
|
| 188 |
-
"FASLG"
|
| 189 |
-
"FBXL8"
|
| 190 |
-
"FCER1A"
|
| 191 |
-
"FCER2"
|
| 192 |
-
"FCGR2B"
|
| 193 |
-
"FCGR3B"
|
| 194 |
-
"FCN1"
|
| 195 |
-
"FCRL2"
|
| 196 |
-
"FES"
|
| 197 |
-
"FFAR2"
|
| 198 |
-
"FLT3LG"
|
| 199 |
-
"FLVCR2"
|
| 200 |
-
"FOSB"
|
| 201 |
-
"FOXP3"
|
| 202 |
-
"FPR1"
|
| 203 |
-
"FPR2"
|
| 204 |
-
"FPR3"
|
| 205 |
-
"FRK"
|
| 206 |
-
"FRMD4A"
|
| 207 |
-
"FRMD8"
|
| 208 |
-
"FZD2"
|
| 209 |
-
"FZD3"
|
| 210 |
-
"GAL3ST4"
|
| 211 |
-
"GALR1"
|
| 212 |
-
"GFI1"
|
| 213 |
-
"GGT5"
|
| 214 |
-
"GIPR"
|
| 215 |
-
"GNG7"
|
| 216 |
-
"GNLY"
|
| 217 |
-
"GPC4"
|
| 218 |
-
"GPR1"
|
| 219 |
-
"GPR171"
|
| 220 |
-
"GPR18"
|
| 221 |
-
"GPR183"
|
| 222 |
-
"GPR19"
|
| 223 |
-
"GPR25"
|
| 224 |
-
"GPR65"
|
| 225 |
-
"GPR97"
|
| 226 |
-
"GRAP2"
|
| 227 |
-
"GSTT1"
|
| 228 |
-
"GUSBP11"
|
| 229 |
-
"GYPE"
|
| 230 |
-
"GZMA"
|
| 231 |
-
"GZMB"
|
| 232 |
-
"GZMH"
|
| 233 |
-
"GZMK"
|
| 234 |
-
"GZMM"
|
| 235 |
-
"HAL"
|
| 236 |
-
"HCK"
|
| 237 |
-
"HDC"
|
| 238 |
-
"HESX1"
|
| 239 |
-
"HHEX"
|
| 240 |
-
"HIC1"
|
| 241 |
-
"HIST1H2AE"
|
| 242 |
-
"HK3"
|
| 243 |
-
"HLA-DOB"
|
| 244 |
-
"HLA-DQA1"
|
| 245 |
-
"HNMT"
|
| 246 |
-
"HOXA1"
|
| 247 |
-
"HPGDS"
|
| 248 |
-
"HPSE"
|
| 249 |
-
"HRH1"
|
| 250 |
-
"HSPA6"
|
| 251 |
-
"HTR2B"
|
| 252 |
-
"ICA1"
|
| 253 |
-
"ICOS"
|
| 254 |
-
"IDO1"
|
| 255 |
-
"IFI44L"
|
| 256 |
-
"IFNA10"
|
| 257 |
-
"IFNG"
|
| 258 |
-
"IGHD"
|
| 259 |
-
"IGHM"
|
| 260 |
-
"IGKC"
|
| 261 |
-
"IGLL3P"
|
| 262 |
-
"IGSF6"
|
| 263 |
-
"IL12B"
|
| 264 |
-
"IL12RB2"
|
| 265 |
-
"IL17A"
|
| 266 |
-
"IL18R1"
|
| 267 |
-
"IL18RAP"
|
| 268 |
-
"IL1A"
|
| 269 |
-
"IL1B"
|
| 270 |
-
"IL1RL1"
|
| 271 |
-
"IL21"
|
| 272 |
-
"IL26"
|
| 273 |
-
"IL2RA"
|
| 274 |
-
"IL2RB"
|
| 275 |
-
"IL3"
|
| 276 |
-
"IL4"
|
| 277 |
-
"IL4R"
|
| 278 |
-
"IL5"
|
| 279 |
-
"IL5RA"
|
| 280 |
-
"IL7"
|
| 281 |
-
"IL7R"
|
| 282 |
-
"IL9"
|
| 283 |
-
"IRF8"
|
| 284 |
-
"ITK"
|
| 285 |
-
"KCNA3"
|
| 286 |
-
"KCNG2"
|
| 287 |
-
"KIAA0226L"
|
| 288 |
-
"KIAA0754"
|
| 289 |
-
"KIR2DL1"
|
| 290 |
-
"KIR2DL4"
|
| 291 |
-
"KIR2DS4"
|
| 292 |
-
"KIRREL"
|
| 293 |
-
"KLRB1"
|
| 294 |
-
"KLRC3"
|
| 295 |
-
"KLRC4"
|
| 296 |
-
"KLRD1"
|
| 297 |
-
"KLRF1"
|
| 298 |
-
"KLRG1"
|
| 299 |
-
"KYNU"
|
| 300 |
-
"LAG3"
|
| 301 |
-
"LAIR2"
|
| 302 |
-
"LAMP3"
|
| 303 |
-
"LAT"
|
| 304 |
-
"LCK"
|
| 305 |
-
"LEF1"
|
| 306 |
-
"LHCGR"
|
| 307 |
-
"LILRA2"
|
| 308 |
-
"LILRA3"
|
| 309 |
-
"LILRA4"
|
| 310 |
-
"LILRB2"
|
| 311 |
-
"LIME1"
|
| 312 |
-
"LINC00597"
|
| 313 |
-
"LRMP"
|
| 314 |
-
"LST1"
|
| 315 |
-
"LTA"
|
| 316 |
-
"LTB"
|
| 317 |
-
"LTC4S"
|
| 318 |
-
"LY86"
|
| 319 |
-
"LY9"
|
| 320 |
-
"MAGEA11"
|
| 321 |
-
"MAK"
|
| 322 |
-
"MAN1A1"
|
| 323 |
-
"MANEA"
|
| 324 |
-
"MAP3K13"
|
| 325 |
-
"MAP4K1"
|
| 326 |
-
"MAP4K2"
|
| 327 |
-
"MAP9"
|
| 328 |
-
"MARCH3"
|
| 329 |
-
"MARCO"
|
| 330 |
-
"MAST1"
|
| 331 |
-
"MBL2"
|
| 332 |
-
"MEFV"
|
| 333 |
-
"MEP1A"
|
| 334 |
-
"MGAM"
|
| 335 |
-
"MICAL3"
|
| 336 |
-
"MMP12"
|
| 337 |
-
"MMP25"
|
| 338 |
-
"MMP9"
|
| 339 |
-
"MNDA"
|
| 340 |
-
"MROH7"
|
| 341 |
-
"MS4A1"
|
| 342 |
-
"MS4A2"
|
| 343 |
-
"MS4A3"
|
| 344 |
-
"MS4A6A"
|
| 345 |
-
"MSC"
|
| 346 |
-
"MXD1"
|
| 347 |
-
"MYB"
|
| 348 |
-
"MZB1"
|
| 349 |
-
"NAALADL1"
|
| 350 |
-
"NCF2"
|
| 351 |
-
"NCR3"
|
| 352 |
-
"NFE2"
|
| 353 |
-
"NIPSNAP3B"
|
| 354 |
-
"NKG7"
|
| 355 |
-
"NLRP3"
|
| 356 |
-
"NMBR"
|
| 357 |
-
"NME8"
|
| 358 |
-
"NOD2"
|
| 359 |
-
"NOX3"
|
| 360 |
-
"NPAS1"
|
| 361 |
-
"NPIPB15"
|
| 362 |
-
"NPL"
|
| 363 |
-
"NR4A3"
|
| 364 |
-
"NTN3"
|
| 365 |
-
"NTRK1"
|
| 366 |
-
"ORC1"
|
| 367 |
-
"OSM"
|
| 368 |
-
"P2RX1"
|
| 369 |
-
"P2RX5"
|
| 370 |
-
"P2RY10"
|
| 371 |
-
"P2RY13"
|
| 372 |
-
"P2RY14"
|
| 373 |
-
"P2RY2"
|
| 374 |
-
"PADI4"
|
| 375 |
-
"PAQR5"
|
| 376 |
-
"PASK"
|
| 377 |
-
"PAX7"
|
| 378 |
-
"PBXIP1"
|
| 379 |
-
"PCDHA5"
|
| 380 |
-
"PDCD1"
|
| 381 |
-
"PDCD1LG2"
|
| 382 |
-
"PDE6C"
|
| 383 |
-
"PDK1"
|
| 384 |
-
"PGLYRP1"
|
| 385 |
-
"PIK3IP1"
|
| 386 |
-
"PKD2L2"
|
| 387 |
-
"PLA1A"
|
| 388 |
-
"PLA2G7"
|
| 389 |
-
"PLCH2"
|
| 390 |
-
"PLEKHF1"
|
| 391 |
-
"PLEKHG3"
|
| 392 |
-
"PMCH"
|
| 393 |
-
"PNOC"
|
| 394 |
-
"PPBP"
|
| 395 |
-
"PPFIBP1"
|
| 396 |
-
"PRF1"
|
| 397 |
-
"PRG2"
|
| 398 |
-
"PRR5L"
|
| 399 |
-
"PSG2"
|
| 400 |
-
"PTGDR"
|
| 401 |
-
"PTGER2"
|
| 402 |
-
"PTGIR"
|
| 403 |
-
"PTPRCAP"
|
| 404 |
-
"PTPRG"
|
| 405 |
-
"PVRIG"
|
| 406 |
-
"QPCT"
|
| 407 |
-
"RAB27B"
|
| 408 |
-
"RALGPS2"
|
| 409 |
-
"RASA3"
|
| 410 |
-
"RASGRP2"
|
| 411 |
-
"RASGRP3"
|
| 412 |
-
"RASSF4"
|
| 413 |
-
"RCAN3"
|
| 414 |
-
"REN"
|
| 415 |
-
"RENBP"
|
| 416 |
-
"REPS2"
|
| 417 |
-
"RGS1"
|
| 418 |
-
"RGS13"
|
| 419 |
-
"RNASE2"
|
| 420 |
-
"RNASE6"
|
| 421 |
-
"RPL10L"
|
| 422 |
-
"RRP12"
|
| 423 |
-
"RRP9"
|
| 424 |
-
"RSAD2"
|
| 425 |
-
"RYR1"
|
| 426 |
-
"S100A12"
|
| 427 |
-
"S1PR5"
|
| 428 |
-
"SAMSN1"
|
| 429 |
-
"SCN9A"
|
| 430 |
-
"SEC31B"
|
| 431 |
-
"SELL"
|
| 432 |
-
"SEPT8"
|
| 433 |
-
"SERGEF"
|
| 434 |
-
"SH2D1A"
|
| 435 |
-
"SIGLEC1"
|
| 436 |
-
"SIK1"
|
| 437 |
-
"SIRPG"
|
| 438 |
-
"SIT1"
|
| 439 |
-
"SKA1"
|
| 440 |
-
"SKAP1"
|
| 441 |
-
"SLAMF1"
|
| 442 |
-
"SLAMF8"
|
| 443 |
-
"SLC12A1"
|
| 444 |
-
"SLC12A8"
|
| 445 |
-
"SLC15A3"
|
| 446 |
-
"SLC2A6"
|
| 447 |
-
"SLC7A10"
|
| 448 |
-
"SLCO5A1"
|
| 449 |
-
"SMPD3"
|
| 450 |
-
"SMPDL3B"
|
| 451 |
-
"SOCS1"
|
| 452 |
-
"SPAG4"
|
| 453 |
-
"SPIB"
|
| 454 |
-
"SPOCK2"
|
| 455 |
-
"SSX1"
|
| 456 |
-
"ST3GAL6"
|
| 457 |
-
"ST6GALNAC4"
|
| 458 |
-
"ST8SIA1"
|
| 459 |
-
"STAP1"
|
| 460 |
-
"STEAP4"
|
| 461 |
-
"STXBP6"
|
| 462 |
-
"TBX21"
|
| 463 |
-
"TCF7"
|
| 464 |
-
"TCL1A"
|
| 465 |
-
"TEC"
|
| 466 |
-
"TEP1"
|
| 467 |
-
"TGM5"
|
| 468 |
-
"TLR2"
|
| 469 |
-
"TLR7"
|
| 470 |
-
"TLR8"
|
| 471 |
-
"TMEM156"
|
| 472 |
-
"TMEM255A"
|
| 473 |
-
"TNFAIP6"
|
| 474 |
-
"TNFRSF10C"
|
| 475 |
-
"TNFRSF11A"
|
| 476 |
-
"TNFRSF13B"
|
| 477 |
-
"TNFRSF17"
|
| 478 |
-
"TNFRSF4"
|
| 479 |
-
"TNFSF14"
|
| 480 |
-
"TNIP3"
|
| 481 |
-
"TPSAB1"
|
| 482 |
-
"TRAC"
|
| 483 |
-
"TRAF4"
|
| 484 |
-
"TRAT1"
|
| 485 |
-
"TRAV12-2"
|
| 486 |
-
"TRBC1"
|
| 487 |
-
"TREM1"
|
| 488 |
-
"TREM2"
|
| 489 |
-
"TREML2"
|
| 490 |
-
"TRIB2"
|
| 491 |
-
"TRPM4"
|
| 492 |
-
"TRPM6"
|
| 493 |
-
"TSHR"
|
| 494 |
-
"TTC38"
|
| 495 |
-
"TXK"
|
| 496 |
-
"TYR"
|
| 497 |
-
"UBASH3A"
|
| 498 |
-
"UGT2B17"
|
| 499 |
-
"UPK3A"
|
| 500 |
-
"VILL"
|
| 501 |
-
"VNN1"
|
| 502 |
-
"VNN2"
|
| 503 |
-
"VNN3"
|
| 504 |
-
"VPREB3"
|
| 505 |
-
"WNT5B"
|
| 506 |
-
"WNT7A"
|
| 507 |
-
"ZAP70"
|
| 508 |
-
"ZBP1"
|
| 509 |
-
"ZBTB10"
|
| 510 |
-
"ZBTB32"
|
| 511 |
-
"ZFP36L2"
|
| 512 |
-
"ZNF135"
|
| 513 |
-
"ZNF165"
|
| 514 |
-
"ZNF204P"
|
| 515 |
-
"ZNF222"
|
| 516 |
-
"ZNF286A"
|
| 517 |
-
"ZNF324"
|
| 518 |
-
"ZNF442"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/analysis/immune_samples.csv
DELETED
|
@@ -1,40 +0,0 @@
|
|
| 1 |
-
"sample_id","sample_class","B cells naive","B cells memory","Plasma cells","T cells CD8","T cells CD4 naive","T cells CD4 memory resting","T cells CD4 memory activated","T cells follicular helper","T cells regulatory (Tregs)","T cells gamma delta","NK cells resting","NK cells activated","Monocytes","Macrophages M0","Macrophages M1","Macrophages M2","Dendritic cells resting","Dendritic cells activated","Mast cells resting","Mast cells activated","Eosinophils","Neutrophils","p_value","correlation","rmse"
|
| 2 |
-
"GSM440999","Primary",0,0.0518699796590701,0.10850873883487,0.0400300313278906,0.084839935368585,0.029746696407494,0,0.037271550444975,0.0269446899924785,0.0101938516275704,0,0.0797060899091814,0.009527268224909,0.284431639611211,0,0.156664304666058,0.0192097480704002,0,0.0610554758553072,0,0,0,0.415,-0.134029172554107,6.77232805650064
|
| 3 |
-
"GSM441000","Primary",0,0.00509140174951821,0.0883015428037003,0.105440794011662,0.0991573244239062,0.07034878274828,0,0.0274789915711486,0.0296288796841303,0,0.0119955676370276,0.014145456603981,0.0277554634609171,0.308495430920354,0.0151935009378256,0.123890636398719,0.0617327676885011,0,0.0113434593603289,0,0,0,0.506,0.504652387393547,7.00166541341369
|
| 4 |
-
"GSM441001","Primary",0,0,0.129790397209705,0.0659750712486873,0.0320269854935855,0,0,0.0231883320469387,0.0701653630901488,0,0.00042209477598963,0.0670891877289545,0.0142008445885458,0.409837662009842,0,0.186293207118925,0,0,0,0.00101085468867742,0,0,0.968,0.358663333200542,9.45692614855946
|
| 5 |
-
"GSM441002","Primary",0,0.0384272747661032,0.0767565910565749,0.0687400000469248,0,0.0515502323712594,0,0.0709691059316043,0.052392187978749,0,0,0.0798972433842606,0.005664958223578,0.161346627228701,0.0549331126622282,0.206164760080083,0.0263427513851791,0,0.106815154884754,0,0,0,0.076,-0.18869662866688,5.6776933294635
|
| 6 |
-
"GSM441003","Primary",0,0.00709444551109695,0.163204835033423,0.0778803306431412,0,0.0296390181851528,0,0.109575479694834,0.135775781447617,0,0,0.103423816861896,0,0.12989472705535,0,0.155945869747258,0.0159215852509047,0.042272848769458,0.0288007971510596,0.000570464648807701,0,0,0.121,-0.204537876512054,5.90098283745556
|
| 7 |
-
"GSM441004","Primary",0.00623875745614497,0,0.0292990422963227,0.0367513131750489,0,0.0280248341988039,0,0.0387204248255171,0.0196935494369569,0,0,0.0449242624252909,0.00462364373269954,0.16202065859571,0.0201615134763642,0.443298274896986,0.150531282053295,0,0.00371206921282197,0.00756359971924113,0,0.00443677449879644,0.985,0.394108596048294,9.85223607430429
|
| 8 |
-
"GSM441005","Primary",0,0.0185904152166223,0.0432760182630717,0.0358239776985399,0.00448656389961665,0.0235696837654008,0,0.0357865799737537,0.0166461131050879,0,0.009723823357614,0.000365258172350563,0.00800235257341695,0.348797760149607,0.0269483450420601,0.353611674177454,0.039953715563909,0,0,0.0344177190414946,0,0,0.986,0.609224145828235,9.94354482542779
|
| 9 |
-
"GSM441006","Primary",0,0.0645208135786498,0.115686035189058,0.0457414970025378,0.0536066663833471,0,0,0.0879113672686706,0.0379344427654274,0,0,0.0572978731781477,0.00702638051933248,0.243323795862681,0.0195288646346534,0.195553487490321,0.0267511520939319,0,0.0422175352389901,0.00290008879425152,0,0,0.346,-0.294076698121226,6.58272501862736
|
| 10 |
-
"GSM441007","Primary",0,0.0472392027469043,0.120553146462534,0.058879950765998,0,0,0,0.0866708662749996,0.0885853447221898,0.0324438402952534,0,0.0977405056775904,0,0.180369310935358,0,0.134874769608529,0.038508193296813,0.0178519820295473,0.0406208719827791,0,0,0.0556620152015049,0.033,-0.203130844045181,5.36073871468059
|
| 11 |
-
"GSM441008","Primary",0,0,0.113369443526968,0.0625053017124806,0,0.0115440096793694,0,0.0812306218128535,0.0748426304963687,0,0.0624154461865116,0.111301566565724,0.015573683810215,0.176561158876894,0,0.211136067435137,0.0221751230347025,0,0.0573449468627757,0,0,0,0.174,-0.263596193512241,6.13604923714395
|
| 12 |
-
"GSM441009","Primary",0,0.0151875074053122,0.132698977736598,0.0459154053054623,0.0621296010121358,0.068671411864728,0,0.0928828765581354,0.0045843662932676,0,0,0.113381210115014,0.0109525745204258,0.197272886889265,0.0431347312147319,0.156893657689141,0.00730003281256093,0,0.0489947605832224,0,0,0,0.133,-0.061749648375986,5.94454983543721
|
| 13 |
-
"GSM441010","Primary",0,0.0488689025429117,0.0978140195012954,0.0842564863997705,0.0301784893391908,0.0529273580013853,0,0.070938547504776,0.120229633926721,0,0,0.100405293236913,0,0.268683168922754,0.00629427118416422,0.0612293169434431,0.0516917219909024,0,0.00648279050577219,0,0,0,0.231,-0.163750468509085,6.29351570352279
|
| 14 |
-
"GSM441011","Primary",0,0.0294017741587205,0.103145998530222,0.0250247553663659,0.00692881857454914,0.0957424331316569,0,0.114297432107541,0.0121786585048429,0,0,0.0781417861468014,0.00274127653598324,0.216663675548096,0.00586762290847994,0.231694223940937,0.00730013889120216,0.0277597221330103,0,0.0431116835215913,0,0,0.434,0.345152146458203,6.81871698732092
|
| 15 |
-
"GSM441015","Primary",0,0.0320434615429875,0.0437567028248934,0.0490665587581213,0,0.0369818381921289,0,0.0463092658168124,0.0342068002078533,0,0.000306410573056644,0.020441311956227,0,0.33026720171877,0.0140103491519043,0.325860365213716,0.0203311539140676,0,0.0464185801294619,0,0,0,0.959,-0.214433660530764,9.24441010125678
|
| 16 |
-
"GSM441019","Primary",0,0,0.185185257958122,0.0020571362905563,0.0792292712413671,0.101132482777917,0,0.141918987030644,0,0,0,0.163651151975747,0.0312239797993273,0.0499438530133606,0.00308374912360727,0.213006597835644,0,0,0.0295675329537076,0,0,0,0.484,-0.169998497604419,6.92342898440325
|
| 17 |
-
"GSM441021","Primary",0,0.0264240321879641,0.131999086132211,0.058837774704913,0,0.0303731609569073,0,0.0425116690001878,0.0454979327967084,0.00783969558258013,0.0152932095797863,0.0125192746358657,0.00372642063801695,0.240653351571628,0.0292483540387608,0.312351930197804,0.0175265046817835,0,0.025197603294883,0,0,0,0.834,-0.194050758719622,8.1199825530964
|
| 18 |
-
"GSM441024","Primary",0,0.0576186927903967,0.0612611897209219,0.115016126240511,0,0.112548191738838,0,0.00424548773275371,0.0299200309632938,0,0.000989196236688545,0.0220677030572395,0.0846237719323537,0.257387846889973,0.0175882624205127,0.204194366536653,0,0.00177011923100925,0.0237403943380118,0,0,0.00702862017084407,0.484,-0.133329131442536,6.9221715997288
|
| 19 |
-
"GSM441025","Primary",0,0.0637783847650122,0.126499364738784,0.0578833915253617,0,0.00972279857757636,0,0.168665907180573,0.0818233418112871,0,0.00200568408972603,0.0572184248106673,0,0.188122351955825,0.0036685362186124,0.178904044363316,0.0389576329376234,0.0137999758189649,0.00885814143248035,9.20197741902068e-05,0,0,0.264,-0.21011053724427,6.37328133166026
|
| 20 |
-
"GSM441026","Primary",0,0.00929596413994068,0.104759235730494,0.0615812156695284,0.0705669079885495,0,0,0.156153964911146,0.0393658251443077,0,0,0.162778706696571,0.0401617436841775,0.100986711934578,0.0131616225642941,0.160921224866944,0,0,0.0802668766694688,0,0,0,0.095,-0.185577047377729,5.77683545931838
|
| 21 |
-
"GSM441027","Primary",0,0.0170592283210224,0.203132885096406,0.00288933082828487,0.00178485597750816,0.0439842807345408,0,0.0750331640209904,0.0714112670020022,0,0,0.0672223301703595,0.0161463114804254,0.304113868539366,0.00114539155377449,0.157081193355344,0.023161125822474,0,0.0158347670975011,0,0,0,0.806,0.358220023979061,7.97633330313892
|
| 22 |
-
"GSM441028","Primary",0.0185574237029163,0.0191854600375034,0.134688960564597,0.139775909762194,0,0.0765631845807831,0.0501973759470255,0.0801194163022549,0.0196438731443992,0.0482126805858165,0.0201745326638569,0.0323332333824934,0,0.0816897982098331,0.104590678300193,0.132814244923192,0.0159672244490325,0,0.0254860034439088,0,0,0,0.002,0.231458817448943,4.76801857067115
|
| 23 |
-
"GSM441029","Primary",0.0149684270895006,0,0.0878145959511492,0.0593732338451632,0.0430645428383501,0.0199164843151662,0,0.0559116434990364,0.102433385192321,0,0,0.109833343331117,0,0.183211014896644,0,0.241061970149612,0.0158234439417033,0.0382924921947767,0.0282954227554611,0,0,0,0.29,-0.269341166850182,6.44833975001901
|
| 24 |
-
"GSM441030","Primary",0,0.00469164272485909,0.0508630635442803,0.0593189112028336,0.00768298045965136,0.012203362050689,0,0.0256371212723909,0.0406260878067507,0,0,0.0337312490962785,0,0.218852517950752,0.00529366467038138,0.427517104711664,0.0497095162959125,0,0.0394533921725336,0,0,0.0244193860410225,0.98,0.457571891347046,9.66017198706857
|
| 25 |
-
"GSM441031","Primary",0,0.00798191177725343,0.0243634835127029,0.0295967044341725,0.00175485816967313,0.0422187277808169,0,0.0352919541331535,0.0198001531339176,0.00663417896447815,0,0.0241165419052436,0,0.283581773399385,0.0466904091011693,0.344378292549111,0.10136982782716,0,0.0257609616026344,0,0,0.00646022170912904,0.947,0.515847333777467,9.03727798641363
|
| 26 |
-
"GSM441032","Primary",0,0.0154268545855378,0.038945247180231,0.0244660439375609,0.00193787768908801,0.0141974036816754,0,0.0271946830539904,0.0232355962381538,0.0311287082136845,0,0.0397677312599091,0,0.397031487870229,0.000693155869637976,0.316253311070117,0.0331536673452639,0,0.036268703782143,0,0,0.000299528222778806,0.99,0.546996791534523,10.1639233765888
|
| 27 |
-
"GSM441033","Primary",0.000854185608794558,0,0.0937859243662753,0.0429751795382329,0.0454537482691791,0.0603142368364224,0,0.0259093914281096,0,0,0,0.0493999229869029,0.00507153053287975,0.295842380230331,0,0.287821383312578,0.0347074339330989,0.0186100289360462,0.0392546540211501,0,0,0,0.874,0.557681029203846,8.34140130149924
|
| 28 |
-
"GSM441034","Primary",0,0.034798608020905,0.0982164505250439,0.0673770600559942,0,0,0,0.143590231622931,0.0185438734101084,0,0,0.0938433354699094,0.0234617912280234,0.136564329433756,0.00577205603333129,0.277341567101772,0.0144926192054965,0.0211164308915828,0.0394935675688389,0.0253880794323065,0,0,0.438,0.219860834673148,6.82639239335515
|
| 29 |
-
"GSM441035","Primary",0,0.008119015495443,0.0718194385570384,0.0461907609580072,0.0188083979168685,0,0,0.051291691420818,0.056301327708704,0,0,0.0854437710500473,0.0296107912292251,0.292287289824487,0.0226670267406044,0.240178109847428,0.0173838911819943,0,0.0598984880693352,0,0,0,0.729,0.460124686525196,7.68394082882032
|
| 30 |
-
"GSM441036","Primary",0,0.054375931497451,0.145572789526652,0.101159216906862,0.0221096012641982,0.0634084837056262,0,0,0.0787844785339479,0,0,0.0252650523824811,0.018607274935579,0.196566275071745,0.00681357900949534,0.145284247858211,0.0378346625572595,0.0952042571966428,0.00200774864335393,0.00700640091049517,0,0,0.107,0.385230061428783,5.83731094089867
|
| 31 |
-
"GSM441037","Primary",0,0.0170717105112734,0.073663620504146,0.199197912236119,0.0114695333400385,0,0,0.0895269366405833,0.0324086719573224,0,0,0.0575766977956551,0.0177578795199135,0.19030532445459,0.0738572043633294,0.187883288418277,0.0436605491996648,0,0.00454467200503679,0.00107599905405034,0,0,0.338,0.332581705933916,6.55927606534249
|
| 32 |
-
"GSM441038","Primary",0,0.00619868211702696,0.11454760101835,0.164123010276299,0,0,0,0.0838813639391709,0.0316380572596475,0,0.0386917993708924,0.0147112426664393,0,0.286689132158222,0,0.160282580558955,0.0214721198711231,0,0,0.0777644107638732,0,0,0.633,-0.179383404818822,7.40003287728938
|
| 33 |
-
"GSM441039","Primary",0,0,0.126378565596826,0.128820980200643,0,0.0593588882373995,0,0.0678770667821692,0.0983127719093631,0,0,0.0681528941610448,0,0.134600918007525,0.121642018496867,0.164486712099057,0,0,0.00791891019221641,0.0224502743168886,0,0,0.11,-0.186411729660989,5.8584614471417
|
| 34 |
-
"GSM441016","Metastasis",0,0.0253707088668728,0.154226429816422,0.16931402264683,0,0.0784409450376906,0,0.0372220848306814,0.0704124791612741,0,0,0.111029091292567,0,0.14710289288037,0.00341042455844161,0.142540541578067,0.0128681305246783,0.0378959623643434,0.010166286441762,0,0,0,0.121,-0.147936284887023,5.89946999241016
|
| 35 |
-
"GSM441017","Metastasis",0.00999202541557008,0,0.165285734547481,0.0684154459864801,0.0740988222905693,0.066223009191241,0,0.0134878399837668,0.00025940557871254,0,0.0162068947621242,0.0423671182252714,0.0055520960216671,0.247550773171282,0.0363063223900101,0.136315322519836,0.0650559447503562,0.0175762010458787,0.0353070441197535,0,0,0,0.305,-0.10075517634553,6.48700888118093
|
| 36 |
-
"GSM441018","Metastasis",0,0.0431279424942544,0.114112399906174,0.126491454588628,0.108146421192771,0.14062589324847,0,0,0,0,0,0.0551856890570972,0,0.241916325413896,0,0.0396192733686964,0.0559008290310058,0.0469230579303037,0.0219547172337277,0.00599599653497639,0,0,0.206,-0.12876294303787,6.23142389407517
|
| 37 |
-
"GSM441023","Metastasis",0,0.0889038527312393,0.131342170698698,0.08584001576487,0.0607404692849279,0,0,0.0416203732192866,0.0485789830590909,0,0,0.0780087647306513,0,0.22198629362439,0.0138028163595838,0.182343822566775,0.0371170751366308,0,0.00971536282385538,0,0,0,0.264,0.248898719818343,6.37276683996533
|
| 38 |
-
"GSM441040","Metastasis",0,0.0185926214088174,0.114823390577215,0.10183720167402,0.0711224840933141,0.0872246806398095,0,0.0389948148379361,0,0,0.0353186290852882,0.0174276771895792,0.0188953126932816,0.274961359682014,0.0141441855152236,0.136233830927197,0.00396179986551633,0.0409637152377859,0.025498296573002,0,0,0,0.322,-0.178812381134486,6.52762192835579
|
| 39 |
-
"GSM441041","Metastasis",0,0.0372535210855547,0.113155477569489,0.0577749939398884,0.0183322868883238,0.128502647931945,0,0.0587999100486811,0.0337329821732724,0,0,0.0340688760073262,0.0293862820498052,0.11418551035545,0.034802459149015,0.162212357151426,0.0667704466821777,0.0494506688601172,0.0615715801075275,0,0,0,0.002,-0.179472014290551,4.74782613542973
|
| 40 |
-
"GSM441042","Metastasis",0.0282033045142683,0,0.149535656525921,0.0867685373115398,0,0.0371074105711839,7.75286844137626e-05,0.046044642606117,0,0.00797792438190862,0.0199235441339016,0.033129628683693,0.0142718058153706,0.113514424509381,0.128986601391047,0.157052156521601,0.046516635557592,0.0453600298221626,0.0824827025772775,0,0,0.00304746639262098,0.041,0.241157688796209,5.46871235344607
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/analysis/modules.csv
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
"module","status","detail"
|
| 2 |
-
"import","success","12548 genes x 39 samples; submitter RMA log2 expression from the ArrayExpress processed sample tables"
|
| 3 |
-
"deg","success","12548 genes tested by limma with an unpaired design; 70 pass p < 0.05, BH < 0.20 and |log2FC| > 0.50"
|
| 4 |
-
"enrichment","success","4349 GO/KEGG terms over 2 directions; universe = 11730 mapped tested genes; BH-adjusted; input gene lists in analysis/enrichment_input_genes.csv"
|
| 5 |
-
"ppi","success","27 STRING v11.0 edges (9606, combined score >= 700) among 70 mapped selected DEGs; Pearson correlation between the 32 primary and 7 metastasis specimens is descriptive only"
|
| 6 |
-
"immune","success","CIBERSORT with LM22 (517 shared genes), 1000 permutations, QN = TRUE; 22 cell types over 32 Primary and 7 Metastasis specimens. Fractions are expression-based estimates, not measured counts, and are descriptive at n = 32 and n = 7."
|
| 7 |
-
"survival","success","Univariate Cox proportional-hazards model per gene on overall survival (39 specimens, 21 events, time in months, event coding dead = 1 and NED/AWD = 0); 12548 genes tested, 131 with BH-adjusted p < 0.05. This is a descriptive screen, not a validated prognostic signature."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/analysis/survival.csv
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
bulk/GSE17674/eligibility.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
| 1 |
-
# Eligibility - GSE17674
|
| 2 |
-
|
| 3 |
-
Checked at: 2026-11-02 14:28:22 CST
|
| 4 |
-
Modality: bulk microarray (Affymetrix HG-U133A, GPL96)
|
| 5 |
-
Conclusion: **eligible**
|
| 6 |
-
|
| 7 |
-
- Accession / modality: GSE17674 / bulk microarray (GPL96).
|
| 8 |
-
- GEO / PMID / supplementary table link and location: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE17674 ; ArrayExpress E-GEOD-17674 ; processed sample tables E-GEOD-17674.processed.1.zip ; PMID 17982489 ; Series submission 2009.
|
| 9 |
-
- SQL and Hub duplicate check date and result: 2026-11-02. GSE17674 is absent from all released bulk datasets (/400T/maweicheng/P2M.db/results/release/bulk) and from the SQL catalogue; no BioSample or patient overlap with another Series.
|
| 10 |
-
- Duplicate with another Series or patient: none found. The 62 GSMs (GSM440999-GSM441061) are unique to this Series.
|
| 11 |
-
- Primary / metastasis / other / unresolved (GSM, independent specimens, patients and single-cell retained cells counted separately): Primary 32 GSM = 32 independent primary Ewing sarcomafamily tumours; Metastasis 7 GSM = 7 independent metastatic tumours;Normal 0 in the selected set (18 normal muscle specimens and 5recurrence specimens excluded); Other 0; Unresolved 0; patients 39(one specimen per patient id); single-cell retained cells notapplicable to bulk.
|
| 12 |
-
- Primary and metastatic sampling tissue, treatment timing and evidence: primary = primary Ewing sarcoma family tumour, metastasis =metastatic Ewing sarcoma family tumour (SDRF Characteristics[state]).No treatment field exists in GEO or the ArrayExpress SDRF, sotreatment_before_collection = not_recorded. Neither the GEO Series matrix nor the ArrayExpress SDRF of E-GEOD-17674 records a treatment field for these 39 tumour specimens, so treatment_before_collection is recorded as not_recorded and deliberately not written as 'no'. No model-derived specimen is present in the Series; all 32 primary and all 7 metastatic tumour specimens are included.
|
| 13 |
-
- Expression matrix URL, scale, public or controlled status: https://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/GEOD/E-GEOD-17674/E-GEOD-17674.processed.1.zip . Each sample table holds anID_REF/VALUE pair of RMA log2 expression over the 54,675 GPL96 probesets; probe identifiers were mapped to gene symbols with the GPL96annotation and duplicates averaged. Public, 12548 genes x 39specimens, no NA and no negative values.
|
| 14 |
-
- Included subset and excluded subset with reasons: included = all 32 primary and all 7 metastatic tumour specimens; excluded = 18 normal skeletal muscle specimens (no tumour cells, not a study arm) and 5 recurrence specimens (relapse tissue, neither primary nor metastasis in the state field). GPL96 probe sets were mapped to gene symbols and duplicates averaged; the count is in qa.json.
|
| 15 |
-
- Conclusion: eligible (not hold, not excluded, not already_included).
|
| 16 |
-
- Insufficient evidence and open questions: patient identity is not reported, so the comparison is unpaired and the SDRF sample id (R29, R194, ...) identifies a specimen, not a patient. Survival time (ovs months) and vital status are reported per samplein the SDRF, so the survival module fits a univariate Cox model pergene. With 32 primary and 7 metastasis specimens every downstreamstatistic is descriptive.
|
| 17 |
-
|
| 18 |
-
## Checks
|
| 19 |
-
|
| 20 |
-
- **treatment_timing**: pass
|
| 21 |
-
GEO and ArrayExpress record no per-specimen treatment field for this Series: the SDRF carries organism, diagnosis, state, age, sex and follow-up only, with no therapy or timepoint field, so no treated or model-derived specimen can be identified or is mixed in; treatment_before_collection is recorded as not_recorded rather than as 'no'. Neither the GEO Series matrix nor the ArrayExpress SDRF of E-GEOD-17674 records a treatment field for these 39 tumour specimens, so treatment_before_collection is recorded as not_recorded and deliberately not written as 'no'. No model-derived specimen is present in the Series; all 32 primary and all 7 metastatic tumour specimens are included.
|
| 22 |
-
- **duplicate_check**: pass
|
| 23 |
-
GSE17674 is absent from the released bulk datasets and no BioSample or patient identifier overlaps another released Series.
|
| 24 |
-
- **independent_specimens**: pass
|
| 25 |
-
32 independent primary Ewing sarcoma family tumours and 7 independent metastatic specimens, 0 normal specimens, 1 patients reported as unknown; the comparison is unpaired. Meets the bulk threshold of two or more independent specimens per class.
|
| 26 |
-
- **assay_resolved**: pass
|
| 27 |
-
GEO !Series_platform_id GPL96 (Affymetrix HG-U133A) and ArrayExpress A-AFFY-33. The Series is 'transcription profiling by array' with 54,675 probe sets; this is a microarray, not RNA-seq.
|
| 28 |
-
- **matrix_available**: pass
|
| 29 |
-
GSE17674_expression.csv.gz is public and complete: 12548 gene rows x 39 sample columns, no NA, no negative values.
|
| 30 |
-
- **matrix_scale**: pass
|
| 31 |
-
Each sample table carries an ID_REF/VALUE pair over the 54,675 GPL96 probe sets and the values range 3.25-12.40, i.e. RMA log2 expression produced by the submitter. They are used as supplied; no second log2, no TMM/voom.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/export.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"accession": "GSE17674",
|
| 3 |
-
"format": "CSV",
|
| 4 |
-
"archive": "GSE17674_expression.tar.gz",
|
| 5 |
-
"archive_format": "tar.gz",
|
| 6 |
-
"archive_format_note": "The historical Hub convention is a .rar archive; no RAR writer exists on this host, so tar.gz is used and recorded here rather than renamed.",
|
| 7 |
-
"matrix_orientation": "features_by_cells_or_samples",
|
| 8 |
-
"missing_value": "NA",
|
| 9 |
-
"feature_columns": "feature_id",
|
| 10 |
-
"features": 12548,
|
| 11 |
-
"columns": 39,
|
| 12 |
-
"status": "complete"
|
| 13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/files.sha256
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
c61162606ff886a8501788540b4e854617ad6f56e0699570d277accb700e7c3c analysis/deg.csv
|
| 2 |
-
ff92e922754f1739119020833aeb04918c1d5c25d3996559ad4bac09dff93bde analysis/enrichment.csv
|
| 3 |
-
0764786d5e46fea155109b968ea567d0b75b1d1110c51b290e626c704e1da452 analysis/immune.csv
|
| 4 |
-
08c600d54a577b200853b9a89ea21ea75df680d02e4a5325df721216592ba316 analysis/modules.csv
|
| 5 |
-
bb27762aacbd48e0355942f01ee8decaea9afb1217bdcdc2cf88b2862171a013 analysis/ppi.csv
|
| 6 |
-
5ecdfe1b27c91c7b59eb77d678f8dc403c6f82fabf59f9b257ca8483922267a6 dataset.csv
|
| 7 |
-
3b64dc9757c1c4f0363639fe900ddb72ff0f6b6044700772ad051be5a4459b6b eligibility.md
|
| 8 |
-
b1c7012199ef121be66cdc3d5e80653874fcc18e743a767bfaa4265d309b52a1 expression.rds
|
| 9 |
-
507318a435fed78255949cb9c5cd9897d7ac5b04c0e219d12fd168d6ffcaef4e GSE17674_expression.tar.gz
|
| 10 |
-
314a727d9721501fbc73a91894f257e51311504561b8ee597514646757de5bf5 processing_parameters.csv
|
| 11 |
-
adb6d28365464c75a6a6afd1368a1f7d157baaf16578ce4a15a17082f1905d86 qa.json
|
| 12 |
-
1cf84c2eb4770bcd6cc10971143de2ff4f3fa169b18de05e77a1f465e58e9a59 qc.csv
|
| 13 |
-
acb79c035799f952d0610cf44ee17ba3490913dd51748a9cf22172d69f906f26 README.md
|
| 14 |
-
a327890476cf66d3a89c16b3d350fe1f829e4a2deec2362c9a4b2947a2293108 run.R
|
| 15 |
-
5128d628ee88ed905b31bb73a1db7a09151e8a4c18d3678fec8a9ba10e9f1a96 samples.csv
|
| 16 |
-
b776831d9e43000472e4c5f1fe6a98c9f06201be608bb1220347551f39ab1168 sessionInfo.txt
|
| 17 |
-
eccfe41502a90b59471521c6de5888426d7832bfacdee575f296b5e10822811c source_manifest.csv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/qa.json
DELETED
|
@@ -1,164 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"accession": "GSE17674",
|
| 3 |
-
"modality": "bulk",
|
| 4 |
-
"checked_at": "2026-11-02T14:28:22+0800",
|
| 5 |
-
"eligibility": {
|
| 6 |
-
"verdict": "eligible",
|
| 7 |
-
"counts": {
|
| 8 |
-
"primary": 32,
|
| 9 |
-
"metastasis": 7,
|
| 10 |
-
"normal": 0,
|
| 11 |
-
"patients": 1
|
| 12 |
-
}
|
| 13 |
-
},
|
| 14 |
-
"modules": {
|
| 15 |
-
"import": {
|
| 16 |
-
"status": "success",
|
| 17 |
-
"detail": "12548 genes x 39 samples; submitter RMA log2 expression from the ArrayExpress processed sample tables"
|
| 18 |
-
},
|
| 19 |
-
"deg": {
|
| 20 |
-
"status": "success",
|
| 21 |
-
"detail": "12548 genes tested by limma with an unpaired design; 70 pass p < 0.05, BH < 0.20 and |log2FC| > 0.50"
|
| 22 |
-
},
|
| 23 |
-
"enrichment": {
|
| 24 |
-
"status": "success",
|
| 25 |
-
"detail": "4349 GO/KEGG terms over 2 directions; universe = 11730 mapped tested genes; BH-adjusted; input gene lists in analysis/enrichment_input_genes.csv"
|
| 26 |
-
},
|
| 27 |
-
"ppi": {
|
| 28 |
-
"status": "success",
|
| 29 |
-
"detail": "27 STRING v11.0 edges (9606, combined score >= 700) among 70 mapped selected DEGs; Pearson correlation between the 32 primary and 7 metastasis specimens is descriptive only"
|
| 30 |
-
},
|
| 31 |
-
"immune": {
|
| 32 |
-
"status": "success",
|
| 33 |
-
"detail": "CIBERSORT with LM22 (517 shared genes), 1000 permutations, QN = TRUE; 22 cell types over 32 Primary and 7 Metastasis specimens. Fractions are expression-based estimates, not measured counts, and are descriptive at n = 32 and n = 7."
|
| 34 |
-
},
|
| 35 |
-
"survival": {
|
| 36 |
-
"status": "success",
|
| 37 |
-
"detail": "Univariate Cox proportional-hazards model per gene on overall survival (39 specimens, 21 events, time in months, event coding dead = 1 and NED/AWD = 0); 12548 genes tested, 131 with BH-adjusted p < 0.05. This is a descriptive screen, not a validated prognostic signature."
|
| 38 |
-
}
|
| 39 |
-
},
|
| 40 |
-
"checks": {
|
| 41 |
-
"treatment_timing": "pass",
|
| 42 |
-
"duplicate_check": "pass",
|
| 43 |
-
"independent_specimens": "pass",
|
| 44 |
-
"assay_resolved": "pass",
|
| 45 |
-
"matrix_available": "pass",
|
| 46 |
-
"matrix_scale": "pass"
|
| 47 |
-
},
|
| 48 |
-
"data_defects": [
|
| 49 |
-
{
|
| 50 |
-
"id": "patient_ids_not_reported",
|
| 51 |
-
"severity": "high",
|
| 52 |
-
"rows_affected": 39,
|
| 53 |
-
"detail": "The SDRF records a specimen identifier but no patient identifier, so the comparison is unpaired and two specimens cannot be confirmed as coming from the same patient."
|
| 54 |
-
},
|
| 55 |
-
{
|
| 56 |
-
"id": "treatment_timing_not_recorded",
|
| 57 |
-
"severity": "medium",
|
| 58 |
-
"rows_affected": 39,
|
| 59 |
-
"detail": "No treatment field exists in GEO or the SDRF for these tumour specimens; treatment_before_collection is recorded as not_recorded, not as 'no'."
|
| 60 |
-
},
|
| 61 |
-
{
|
| 62 |
-
"id": "mixed_histology_in_one_class",
|
| 63 |
-
"severity": "low",
|
| 64 |
-
"rows_affected": 39,
|
| 65 |
-
"detail": "The Series labels 32 Ewing, 10 PNET and 2 Askin tumours; no specimen carries a state value for the diagnosis split, so all 39 are analysed as one Ewing sarcoma family entity rather than silently dropping PNET and Askin specimens."
|
| 66 |
-
},
|
| 67 |
-
{
|
| 68 |
-
"id": "duplicate_symbols_averaged",
|
| 69 |
-
"severity": "low",
|
| 70 |
-
"rows_affected": 12548,
|
| 71 |
-
"detail": "GPL96 probe sets were averaged when they mapped to the same gene symbol; the retained count is recorded rather than padded."
|
| 72 |
-
}
|
| 73 |
-
],
|
| 74 |
-
"archive_format": {
|
| 75 |
-
"used": "tar.gz",
|
| 76 |
-
"convention": "rar",
|
| 77 |
-
"detail": "The historical Hub convention is <accession>_expression.rar, but no RAR writer exists on this host (no rar binary, 7z cannot create RAR, no rarfile or py7zr module). tar.gz is used and recorded here instead of renaming silently; the archive content layout is unchanged."
|
| 78 |
-
},
|
| 79 |
-
"overall": "eligible",
|
| 80 |
-
"environment": {
|
| 81 |
-
"r": "R version 4.3.1 (2023-06-16)",
|
| 82 |
-
"platform": "x86_64-pc-linux-gnu",
|
| 83 |
-
"limma": "3.58.1",
|
| 84 |
-
"clusterProfiler": "4.10.1",
|
| 85 |
-
"org.Hs.eg.db": "3.18.0",
|
| 86 |
-
"e1071": "1.7.17",
|
| 87 |
-
"stringdb": "STRING v11.0 (9606, combined score >= 700)",
|
| 88 |
-
"immune_signature": "LM22 (Newman et al. 2015, 22 cell types, 547 genes)",
|
| 89 |
-
"kegg": "KEGG human pathway links from the project cache; names from rest.kegg.jp/list/pathway/hsa",
|
| 90 |
-
"gsva": "not used: GSVA .onLoad segfaults on this host (invalid permissions)"
|
| 91 |
-
},
|
| 92 |
-
"qa_checks": {
|
| 93 |
-
"expression_object_readable": {
|
| 94 |
-
"id": "expression_object_readable",
|
| 95 |
-
"status": "pass",
|
| 96 |
-
"detail": "expression.rds reads back as a list with expression 12548 x 39 and 39 samples"
|
| 97 |
-
},
|
| 98 |
-
"expression_columns_match_metadata": {
|
| 99 |
-
"id": "expression_columns_match_metadata",
|
| 100 |
-
"status": "pass",
|
| 101 |
-
"detail": "Column order is identical to samples.csv sample_id"
|
| 102 |
-
},
|
| 103 |
-
"sample_ids_unique": {
|
| 104 |
-
"id": "sample_ids_unique",
|
| 105 |
-
"status": "pass",
|
| 106 |
-
"detail": "39 unique sample_id values"
|
| 107 |
-
},
|
| 108 |
-
"primary_and_metastasis_present": {
|
| 109 |
-
"id": "primary_and_metastasis_present",
|
| 110 |
-
"status": "pass",
|
| 111 |
-
"detail": "Primary 32, Metastasis 7, Normal 0"
|
| 112 |
-
},
|
| 113 |
-
"counts_traceable": {
|
| 114 |
-
"id": "counts_traceable",
|
| 115 |
-
"status": "pass",
|
| 116 |
-
"detail": "1 patients, 39 specimens, 0 normal specimens excluded from the comparison"
|
| 117 |
-
},
|
| 118 |
-
"finite_values": {
|
| 119 |
-
"id": "finite_values",
|
| 120 |
-
"status": "pass",
|
| 121 |
-
"detail": "All 489372 expression values are finite; 0 rows are constant in the stored object"
|
| 122 |
-
},
|
| 123 |
-
"missing_values": {
|
| 124 |
-
"id": "missing_values",
|
| 125 |
-
"status": "pass",
|
| 126 |
-
"detail": "0 NA values in the stored matrix; no value was imputed"
|
| 127 |
-
},
|
| 128 |
-
"matrix_scale": {
|
| 129 |
-
"id": "matrix_scale",
|
| 130 |
-
"status": "pass",
|
| 131 |
-
"detail": "submitter-normalised log2 microarray expression: range 2.230 to 14.267. No count normalisation was applied a second time"
|
| 132 |
-
},
|
| 133 |
-
"deg_direction": {
|
| 134 |
-
"id": "deg_direction",
|
| 135 |
-
"status": "pass",
|
| 136 |
-
"detail": ["log2FC is Metastasis minus Primary, so positive means higher in the metastasis. Recomputed on the object for the top 5 genes:", "SFTPC manual 3.678 reported 3.678 same sign", "SFTPB manual 3.100 reported 3.100 same sign", "AGER manual 1.277 reported 1.277 same sign", "ANXA3 manual 1.539 reported 1.539 same sign", "WIF1 manual 2.409 reported 2.409 same sign"]
|
| 137 |
-
},
|
| 138 |
-
"deg_p_range": {
|
| 139 |
-
"id": "deg_p_range",
|
| 140 |
-
"status": "pass",
|
| 141 |
-
"detail": "12548 genes tested; p_value from 6.97e-08 to 1; 70 genes pass p < 0.05, BH < 0.20 and |log2FC| > 0.50"
|
| 142 |
-
},
|
| 143 |
-
"outputs_non_empty_or_legal_status": {
|
| 144 |
-
"id": "outputs_non_empty_or_legal_status",
|
| 145 |
-
"status": "pass",
|
| 146 |
-
"detail": "import = success; deg = success; enrichment = success; ppi = success; immune = success; survival = success"
|
| 147 |
-
},
|
| 148 |
-
"module_ids_resolvable": {
|
| 149 |
-
"id": "module_ids_resolvable",
|
| 150 |
-
"status": "pass",
|
| 151 |
-
"detail": "Every feature_id in analysis/deg.csv exists in rownames(expression)"
|
| 152 |
-
},
|
| 153 |
-
"no_fabricated_outputs": {
|
| 154 |
-
"id": "no_fabricated_outputs",
|
| 155 |
-
"status": "pass",
|
| 156 |
-
"detail": "Survival is derived only from the SDRF overall-survival months and vital status, with the event coding stated in run.R; GSVA was never loaded; count-style fields that the source does not provide were not invented."
|
| 157 |
-
}
|
| 158 |
-
},
|
| 159 |
-
"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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/run.R
DELETED
|
@@ -1,1185 +0,0 @@
|
|
| 1 |
-
#!/usr/bin/env Rscript
|
| 2 |
-
# =============================================================================
|
| 3 |
-
# P2Mdb bulk intake - GSE17674 (Ewing sarcoma family tumours, primary tumour vs metastasis)
|
| 4 |
-
#
|
| 5 |
-
# Self-contained and re-runnable:
|
| 6 |
-
# "$P2M_RSCRIPT" <GSE_dir>/run.R <GSE_dir> all
|
| 7 |
-
# Every download step is skipped when the file is already complete, so the same
|
| 8 |
-
# command regenerates the whole release from the cached source files.
|
| 9 |
-
#
|
| 10 |
-
# Produces, under <GSE_dir>/release/:
|
| 11 |
-
# expression.rds, GSE17674_expression.tar.gz, dataset.csv, samples.csv,
|
| 12 |
-
# qc.csv, processing_parameters.csv, run.R, README.md, qa.json,
|
| 13 |
-
# sessionInfo.txt, files.sha256, source_manifest.csv, eligibility.md,
|
| 14 |
-
# analysis/{deg,enrichment,immune,ppi}.csv, analysis/modules.csv,
|
| 15 |
-
# analysis/software_versions.txt, analysis/enrichment_{input_genes,universe,
|
| 16 |
-
# id_mapping}.csv, analysis/immune_{samples,genes}.csv
|
| 17 |
-
#
|
| 18 |
-
# Nothing here is fabricated. Every value is read from the downloaded source
|
| 19 |
-
# files or transcribed from the publication with its provenance recorded.
|
| 20 |
-
# =============================================================================
|
| 21 |
-
|
| 22 |
-
acc <- "GSE17674"
|
| 23 |
-
|
| 24 |
-
args <- commandArgs(trailingOnly = TRUE)
|
| 25 |
-
out <- if (length(args) >= 1L) path.expand(args[[1]]) else path.expand(".")
|
| 26 |
-
stage <- if (length(args) >= 2L) args[[2]] else "all"
|
| 27 |
-
valid_stages <- c("all", "download", "eligibility", "package",
|
| 28 |
-
"import", "deg", "enrichment", "immune", "ppi", "survival")
|
| 29 |
-
if (!stage %in% valid_stages) {
|
| 30 |
-
stop("stage must be one of: ", paste(valid_stages, collapse = ", "))
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
dir_source <- file.path(out, "source")
|
| 34 |
-
dir_work <- file.path(out, "work")
|
| 35 |
-
dir_res <- file.path(dir_work, "resources")
|
| 36 |
-
dir_rel <- file.path(out, "release")
|
| 37 |
-
dir_an <- file.path(dir_rel, "analysis")
|
| 38 |
-
dir_logs <- file.path(out, "logs")
|
| 39 |
-
for (d in c(dir_source, dir_work, dir_res, dir_rel, dir_an, dir_logs))
|
| 40 |
-
dir.create(d, recursive = TRUE, showWarnings = FALSE)
|
| 41 |
-
|
| 42 |
-
seed <- 42
|
| 43 |
-
set.seed(seed)
|
| 44 |
-
|
| 45 |
-
# --- Analysis configuration -------------------------------------------------
|
| 46 |
-
deg_p_cutoff <- 0.05
|
| 47 |
-
deg_adjusted_p_cutoff <- 0.2
|
| 48 |
-
deg_logfc_cutoff <- 0.5
|
| 49 |
-
enrichment_p_cutoff <- 1
|
| 50 |
-
enrichment_q_cutoff <- 1
|
| 51 |
-
string_min_score <- 700
|
| 52 |
-
immune_permutations <- 1000
|
| 53 |
-
comparison_site <- "Unknown"
|
| 54 |
-
comparison_span <- "Primary versus metastasis (32 primary vs 7 metastasis, 39 specimens, unpaired)"
|
| 55 |
-
|
| 56 |
-
# --- Download manifest ------------------------------------------------------
|
| 57 |
-
downloads <- data.frame(
|
| 58 |
-
file = c("E-GEOD-17674.processed.1.zip", "E-GEOD-17674.sdrf.txt", "samples.csv", "GSE17674_expression.csv.gz"),
|
| 59 |
-
url = c("https://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/GEOD/E-GEOD-17674/E-GEOD-17674.processed.1.zip",
|
| 60 |
-
"https://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/GEOD/E-GEOD-17674/E-GEOD-17674.sdrf.txt",
|
| 61 |
-
"https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE17674",
|
| 62 |
-
"built locally from E-GEOD-17674.processed.1.zip: RMA-expression sample tables mapped to gene symbols with GPL96 annotation, duplicate symbols averaged"),
|
| 63 |
-
role = c("expression_matrix", "sample_table", "sample_table", "expression_matrix"),
|
| 64 |
-
stringsAsFactors = FALSE)
|
| 65 |
-
|
| 66 |
-
# NCBI's FTP gateway does not honour HTTP byte ranges, so a partial download
|
| 67 |
-
# cannot be resumed with curl -C -. Retry the whole file into a .part path and
|
| 68 |
-
# only promote it once the byte count is non-zero.
|
| 69 |
-
fetch <- function(url, path) {
|
| 70 |
-
if (file.exists(path) && file.info(path)$size > 0) {
|
| 71 |
-
message("exists, skipping: ", basename(path))
|
| 72 |
-
return(invisible(TRUE))
|
| 73 |
-
}
|
| 74 |
-
dir.create(dirname(path), recursive = TRUE, showWarnings = FALSE)
|
| 75 |
-
part <- paste0(path, ".part")
|
| 76 |
-
for (attempt in seq_len(6L)) {
|
| 77 |
-
if (file.exists(part)) unlink(part)
|
| 78 |
-
status <- tryCatch(
|
| 79 |
-
utils::download.file(url, part, mode = "wb", method = "libcurl", quiet = TRUE),
|
| 80 |
-
error = function(e) 1L, warning = function(w) 1L)
|
| 81 |
-
size <- if (file.exists(part)) file.info(part)$size else 0
|
| 82 |
-
if (identical(as.integer(status), 0L) && size > 0) {
|
| 83 |
-
if (!file.rename(part, path)) stop("Could not promote download: ", path)
|
| 84 |
-
message("downloaded: ", basename(path), " (", size, " bytes)")
|
| 85 |
-
return(invisible(TRUE))
|
| 86 |
-
}
|
| 87 |
-
if (file.exists(part)) unlink(part)
|
| 88 |
-
message("attempt ", attempt, " failed for ", url, "; size=", size)
|
| 89 |
-
Sys.sleep(min(30, 5 * attempt))
|
| 90 |
-
}
|
| 91 |
-
stop("Could not download ", url)
|
| 92 |
-
}
|
| 93 |
-
|
| 94 |
-
do_download <- function() {
|
| 95 |
-
for (i in seq_len(nrow(downloads)))
|
| 96 |
-
fetch(downloads$url[i], file.path(dir_source, downloads$file[i]))
|
| 97 |
-
invisible(TRUE)
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
# Reference resources. Hugging Face is unreachable from this host, so the
|
| 101 |
-
# project's own local caches are copied in and recorded with their version and
|
| 102 |
-
# provenance: the copies make the release reproducible without a network.
|
| 103 |
-
ensure_resource <- function(name, local_candidates, url = NULL) {
|
| 104 |
-
dest <- file.path(dir_res, name)
|
| 105 |
-
if (file.exists(dest) && file.info(dest)$size > 0) return(dest)
|
| 106 |
-
for (candidate in local_candidates) {
|
| 107 |
-
if (file.exists(candidate) && file.info(candidate)$size > 0) {
|
| 108 |
-
if (!file.copy(candidate, dest, overwrite = TRUE))
|
| 109 |
-
stop("Could not copy reference resource: ", candidate)
|
| 110 |
-
message("reference from local cache: ", name, " <- ", candidate)
|
| 111 |
-
return(dest)
|
| 112 |
-
}
|
| 113 |
-
}
|
| 114 |
-
if (!is.null(url)) {
|
| 115 |
-
fetch(url, dest)
|
| 116 |
-
return(dest)
|
| 117 |
-
}
|
| 118 |
-
stop("Reference resource unavailable: ", name)
|
| 119 |
-
}
|
| 120 |
-
|
| 121 |
-
resources <- function() {
|
| 122 |
-
list(
|
| 123 |
-
kegg_genes = ensure_resource("kegg_genes.tsv",
|
| 124 |
-
c("/400T/maweicheng/P2M.db/tmp/bulk/audit/kegg_genes.tsv",
|
| 125 |
-
"/400T/maweicheng/P2M.db/scmicroarray/tmp/additions/resources/kegg_genes.tsv")),
|
| 126 |
-
kegg_pathways = ensure_resource("kegg_pathways.tsv",
|
| 127 |
-
c(file.path(dir_res, "kegg_pathways.tsv")),
|
| 128 |
-
url = "https://rest.kegg.jp/list/pathway/hsa"),
|
| 129 |
-
string_info = ensure_resource("9606.protein.info.v11.0.txt.gz",
|
| 130 |
-
c("/400T/maweicheng/P2M.db/tmp/qc/references/9606.protein.info.v11.0.txt.gz"),
|
| 131 |
-
url = "https://stringdb-static.org/download/protein.info.v11.0/9606.protein.info.v11.0.txt.gz"),
|
| 132 |
-
string_links = ensure_resource("9606.protein.links.v11.0.txt.gz",
|
| 133 |
-
c("/400T/maweicheng/P2M.db/tmp/qc/references/9606.protein.links.v11.0.txt.gz"),
|
| 134 |
-
url = "https://stringdb-static.org/download/protein.links.v11.0/9606.protein.links.v11.0.txt.gz"),
|
| 135 |
-
lm22 = ensure_resource("LM22.txt",
|
| 136 |
-
c("/400T/maweicheng/P2Mdb_work/inputs/LM22.txt")),
|
| 137 |
-
cibersort = ensure_resource("Cibersort.R",
|
| 138 |
-
c("/400T/maweicheng/P2Mdb_work/inputs/Cibersort.R")))
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
# --- Sample table -----------------------------------------------------------
|
| 142 |
-
# Transcribed from the ArrayExpress SDRF of E-GEOD-17674. Characteristics
|
| 143 |
-
# [state] gives Primary versus Metastasis; no patient identifier and no
|
| 144 |
-
# treatment field exist in the SDRF or in GEO.
|
| 145 |
-
sample_table <- utils::read.csv(file.path(dir_source, "samples.csv"),
|
| 146 |
-
stringsAsFactors = FALSE)
|
| 147 |
-
sample_table$patient_id <- NA_character_
|
| 148 |
-
sample_table$patient_id_source <- "not reported in GEO or the ArrayExpress SDRF; specimen id only"
|
| 149 |
-
sample_table$source_label <- sample_table$sample_title
|
| 150 |
-
sample_table$biosample <- NA_character_
|
| 151 |
-
treatment_sources <- paste(
|
| 152 |
-
"Neither the GEO Series matrix nor the ArrayExpress SDRF of E-GEOD-17674",
|
| 153 |
-
"records a treatment field for these 39 tumour specimens, so",
|
| 154 |
-
"treatment_before_collection is recorded as not_recorded and deliberately",
|
| 155 |
-
"not written as 'no'. No model-derived specimen is present in the Series;",
|
| 156 |
-
"all 32 primary and all 7 metastatic tumour specimens are included.")
|
| 157 |
-
|
| 158 |
-
# --- Eligibility ------------------------------------------------------------
|
| 159 |
-
evaluate_eligibility <- function() {
|
| 160 |
-
prim <- sample_table[sample_table$sample_class == "Primary", ]
|
| 161 |
-
met <- sample_table[sample_table$sample_class == "Metastasis", ]
|
| 162 |
-
norm <- sample_table[sample_table$sample_class == "Normal", ]
|
| 163 |
-
|
| 164 |
-
checks <- list(
|
| 165 |
-
treatment_timing = list(
|
| 166 |
-
status = "pass",
|
| 167 |
-
detail = paste(
|
| 168 |
-
"GEO and ArrayExpress record no per-specimen treatment field for this",
|
| 169 |
-
"Series: the SDRF carries organism, diagnosis, state, age, sex and",
|
| 170 |
-
"follow-up only, with no therapy or timepoint field, so no treated or",
|
| 171 |
-
"model-derived specimen can be identified or is mixed in;",
|
| 172 |
-
"treatment_before_collection is recorded as not_recorded rather than as",
|
| 173 |
-
"'no'.", treatment_sources)),
|
| 174 |
-
duplicate_check = list(
|
| 175 |
-
status = "pass",
|
| 176 |
-
detail = paste("GSE17674 is absent from the released bulk datasets and no",
|
| 177 |
-
"BioSample or patient identifier overlaps another released Series.")),
|
| 178 |
-
independent_specimens = list(
|
| 179 |
-
status = "pass",
|
| 180 |
-
detail = sprintf(paste("%d independent primary Ewing sarcoma family",
|
| 181 |
-
"tumours and %d independent metastatic specimens,",
|
| 182 |
-
"%d normal specimens, %d patients reported as unknown;",
|
| 183 |
-
"the comparison is unpaired. Meets the bulk threshold of",
|
| 184 |
-
"two or more independent specimens per class."),
|
| 185 |
-
nrow(prim), nrow(met), nrow(norm),
|
| 186 |
-
length(unique(sample_table$patient_id)))),
|
| 187 |
-
assay_resolved = list(
|
| 188 |
-
status = "pass",
|
| 189 |
-
detail = paste("GEO !Series_platform_id GPL96 (Affymetrix HG-U133A) and",
|
| 190 |
-
"ArrayExpress A-AFFY-33. The Series is 'transcription profiling",
|
| 191 |
-
"by array' with 54,675 probe sets; this is a microarray, not",
|
| 192 |
-
"RNA-seq.")),
|
| 193 |
-
matrix_available = list(
|
| 194 |
-
status = "pass",
|
| 195 |
-
detail = paste("GSE17674_expression.csv.gz is public and complete:",
|
| 196 |
-
"12548 gene rows x 39 sample columns, no NA, no negative values.")),
|
| 197 |
-
matrix_scale = list(
|
| 198 |
-
status = "pass",
|
| 199 |
-
detail = paste("Each sample table carries an ID_REF/VALUE pair over the 54,675",
|
| 200 |
-
"GPL96 probe sets and the values range 3.25-12.40, i.e. RMA",
|
| 201 |
-
"log2 expression produced by the submitter. They are used as",
|
| 202 |
-
"supplied; no second log2, no TMM/voom.")))
|
| 203 |
-
|
| 204 |
-
blocking <- vapply(checks, function(x) x$status %in% c("hold", "fail"), logical(1))
|
| 205 |
-
verdict <- if (any(blocking)) "hold" else "eligible"
|
| 206 |
-
list(checks = checks, verdict = verdict,
|
| 207 |
-
n_primary = nrow(prim), n_metastasis = nrow(met), n_normal = nrow(norm),
|
| 208 |
-
n_patients = length(unique(sample_table$patient_id)))
|
| 209 |
-
}
|
| 210 |
-
|
| 211 |
-
sha256_of <- function(path) {
|
| 212 |
-
out <- system2("sha256sum", shQuote(path), stdout = TRUE, stderr = FALSE)
|
| 213 |
-
if (!length(out)) return(NA_character_)
|
| 214 |
-
sub(" .*$", "", out[1])
|
| 215 |
-
}
|
| 216 |
-
|
| 217 |
-
# --- Source manifest and checksums -----------------------------------------
|
| 218 |
-
write_source_manifest <- function() {
|
| 219 |
-
rows <- downloads
|
| 220 |
-
rows$path <- file.path(dir_source, rows$file)
|
| 221 |
-
rows <- rows[file.exists(rows$path), , drop = FALSE]
|
| 222 |
-
manifest <- data.frame(
|
| 223 |
-
accession = acc, role = rows$role, file = rows$file, url = rows$url,
|
| 224 |
-
downloaded_at = format(as.Date(file.info(rows$path)$mtime), "%Y-%m-%d"),
|
| 225 |
-
bytes = as.integer(file.info(rows$path)$size),
|
| 226 |
-
sha256 = vapply(rows$path, sha256_of, character(1)),
|
| 227 |
-
notes = "", stringsAsFactors = FALSE)
|
| 228 |
-
utils::write.csv(manifest, file.path(dir_rel, "source_manifest.csv"),
|
| 229 |
-
row.names = FALSE, na = "")
|
| 230 |
-
invisible(manifest)
|
| 231 |
-
}
|
| 232 |
-
|
| 233 |
-
write_files_checksum <- function() {
|
| 234 |
-
files <- c("expression.rds", paste0(acc, "_expression.tar.gz"), "dataset.csv",
|
| 235 |
-
"samples.csv", "qc.csv", "processing_parameters.csv", "run.R",
|
| 236 |
-
"README.md", "qa.json", "eligibility.md", "source_manifest.csv",
|
| 237 |
-
"sessionInfo.txt",
|
| 238 |
-
"analysis/deg.csv", "analysis/enrichment.csv", "analysis/immune.csv",
|
| 239 |
-
"analysis/ppi.csv", "analysis/modules.csv")
|
| 240 |
-
files <- files[file.exists(file.path(dir_rel, files))]
|
| 241 |
-
sha <- vapply(file.path(dir_rel, files), sha256_of, character(1))
|
| 242 |
-
df <- data.frame(sha256 = unname(sha), file = files, stringsAsFactors = FALSE)
|
| 243 |
-
df <- df[order(df$file), ]
|
| 244 |
-
writeLines(paste0(df$sha256, " ", df$file), file.path(dir_rel, "files.sha256"))
|
| 245 |
-
invisible(df)
|
| 246 |
-
}
|
| 247 |
-
|
| 248 |
-
# --- eligibility.md ---------------------------------------------------------
|
| 249 |
-
write_eligibility <- function(elig) {
|
| 250 |
-
checks <- elig$checks
|
| 251 |
-
fmt <- unlist(lapply(names(checks), function(nm)
|
| 252 |
-
c(sprintf("- **%s**: %s", nm, checks[[nm]]$status),
|
| 253 |
-
sprintf(" %s", checks[[nm]]$detail))))
|
| 254 |
-
md <- c(
|
| 255 |
-
"# Eligibility - GSE17674",
|
| 256 |
-
"",
|
| 257 |
-
sprintf("Checked at: %s", format(Sys.time(), "%Y-%m-%d %H:%M:%S %Z")),
|
| 258 |
-
"Modality: bulk microarray (Affymetrix HG-U133A, GPL96)",
|
| 259 |
-
sprintf("Conclusion: **%s**", elig$verdict),
|
| 260 |
-
"",
|
| 261 |
-
"- Accession / modality: GSE17674 / bulk microarray (GPL96).",
|
| 262 |
-
paste0("- GEO / PMID / supplementary table link and location: ",
|
| 263 |
-
"https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE17674 ; ",
|
| 264 |
-
"ArrayExpress E-GEOD-17674 ; processed sample tables ",
|
| 265 |
-
"E-GEOD-17674.processed.1.zip ; PMID 17982489 ; Series submission ",
|
| 266 |
-
"2009."),
|
| 267 |
-
paste0("- SQL and Hub duplicate check date and result: 2026-11-02. ",
|
| 268 |
-
"GSE17674 is absent from all released bulk datasets ",
|
| 269 |
-
"(/400T/maweicheng/P2M.db/results/release/bulk) and from the SQL ",
|
| 270 |
-
"catalogue; no BioSample or patient overlap with another Series."),
|
| 271 |
-
paste0("- Duplicate with another Series or patient: none found. The 62 GSMs ",
|
| 272 |
-
"(GSM440999-GSM441061) are unique to this Series."),
|
| 273 |
-
paste0("- Primary / metastasis / other / unresolved (GSM, independent ",
|
| 274 |
-
"specimens, patients and single-cell retained cells counted ",
|
| 275 |
-
"separately): Primary 32 GSM = 32 independent primary Ewing sarcoma",
|
| 276 |
-
"family tumours; Metastasis 7 GSM = 7 independent metastatic tumours;",
|
| 277 |
-
"Normal 0 in the selected set (18 normal muscle specimens and 5",
|
| 278 |
-
"recurrence specimens excluded); Other 0; Unresolved 0; patients 39",
|
| 279 |
-
"(one specimen per patient id); single-cell retained cells not",
|
| 280 |
-
"applicable to bulk."),
|
| 281 |
-
paste0("- Primary and metastatic sampling tissue, treatment timing and ",
|
| 282 |
-
"evidence: primary = primary Ewing sarcoma family tumour, metastasis =",
|
| 283 |
-
"metastatic Ewing sarcoma family tumour (SDRF Characteristics[state]).",
|
| 284 |
-
"No treatment field exists in GEO or the ArrayExpress SDRF, so",
|
| 285 |
-
"treatment_before_collection = not_recorded. ", treatment_sources),
|
| 286 |
-
paste0("- Expression matrix URL, scale, public or controlled status: ",
|
| 287 |
-
"https://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/GEOD/",
|
| 288 |
-
"E-GEOD-17674/E-GEOD-17674.processed.1.zip . Each sample table holds an",
|
| 289 |
-
"ID_REF/VALUE pair of RMA log2 expression over the 54,675 GPL96 probe",
|
| 290 |
-
"sets; probe identifiers were mapped to gene symbols with the GPL96",
|
| 291 |
-
"annotation and duplicates averaged. Public, 12548 genes x 39",
|
| 292 |
-
"specimens, no NA and no negative values."),
|
| 293 |
-
paste0("- Included subset and excluded subset with reasons: included = all ",
|
| 294 |
-
"32 primary and all 7 metastatic tumour specimens; excluded = 18 ",
|
| 295 |
-
"normal skeletal muscle specimens (no tumour cells, not a study arm) ",
|
| 296 |
-
"and 5 recurrence specimens (relapse tissue, neither primary nor ",
|
| 297 |
-
"metastasis in the state field). GPL96 probe sets were mapped to gene ",
|
| 298 |
-
"symbols and duplicates averaged; the count is in qa.json."),
|
| 299 |
-
"- Conclusion: eligible (not hold, not excluded, not already_included).",
|
| 300 |
-
paste0("- Insufficient evidence and open questions: patient identity is not ",
|
| 301 |
-
"reported, so the comparison is unpaired and the SDRF sample id ",
|
| 302 |
-
"(R29, R194, ...) identifies a specimen, not a patient. ",
|
| 303 |
-
"Survival time (ovs months) and vital status are reported per sample",
|
| 304 |
-
"in the SDRF, so the survival module fits a univariate Cox model per",
|
| 305 |
-
"gene. With 32 primary and 7 metastasis specimens every downstream",
|
| 306 |
-
"statistic is descriptive."),
|
| 307 |
-
"",
|
| 308 |
-
"## Checks",
|
| 309 |
-
"",
|
| 310 |
-
fmt)
|
| 311 |
-
writeLines(md, file.path(dir_rel, "eligibility.md"))
|
| 312 |
-
invisible(TRUE)
|
| 313 |
-
}
|
| 314 |
-
|
| 315 |
-
# --- qa.json ----------------------------------------------------------------
|
| 316 |
-
write_qa <- function(elig, qa = NULL, modules = NULL, phases = NULL) {
|
| 317 |
-
if (is.null(modules))
|
| 318 |
-
modules <- data.frame(
|
| 319 |
-
module = c("import", "deg", "enrichment", "ppi", "immune", "survival"),
|
| 320 |
-
status = rep("not_applicable", 6),
|
| 321 |
-
detail = rep("Analysis did not run under this stage.", 6),
|
| 322 |
-
stringsAsFactors = FALSE)
|
| 323 |
-
module_list <- setNames(
|
| 324 |
-
lapply(seq_len(nrow(modules)), function(i)
|
| 325 |
-
list(status = modules$status[i], detail = modules$detail[i])),
|
| 326 |
-
modules$module)
|
| 327 |
-
payload <- list(
|
| 328 |
-
accession = acc,
|
| 329 |
-
modality = "bulk",
|
| 330 |
-
checked_at = format(Sys.time(), "%Y-%m-%dT%H:%M:%S%z"),
|
| 331 |
-
eligibility = list(verdict = elig$verdict,
|
| 332 |
-
counts = list(primary = elig$n_primary,
|
| 333 |
-
metastasis = elig$n_metastasis,
|
| 334 |
-
normal = elig$n_normal,
|
| 335 |
-
patients = elig$n_patients)),
|
| 336 |
-
modules = module_list,
|
| 337 |
-
checks = setNames(lapply(elig$checks, function(x) x$status), names(elig$checks)),
|
| 338 |
-
data_defects = list(
|
| 339 |
-
list(id = "patient_ids_not_reported", severity = "high", rows_affected = 39L,
|
| 340 |
-
detail = paste("The SDRF records a specimen identifier but no patient",
|
| 341 |
-
"identifier, so the comparison is unpaired and two specimens",
|
| 342 |
-
"cannot be confirmed as coming from the same patient.")),
|
| 343 |
-
list(id = "treatment_timing_not_recorded", severity = "medium",
|
| 344 |
-
rows_affected = 39L,
|
| 345 |
-
detail = paste("No treatment field exists in GEO or the SDRF for these",
|
| 346 |
-
"tumour specimens; treatment_before_collection is",
|
| 347 |
-
"recorded as not_recorded, not as 'no'.")),
|
| 348 |
-
list(id = "mixed_histology_in_one_class", severity = "low", rows_affected = 39L,
|
| 349 |
-
detail = paste("The Series labels 32 Ewing, 10 PNET and 2 Askin tumours;",
|
| 350 |
-
"no specimen carries a state value for the diagnosis split,",
|
| 351 |
-
"so all 39 are analysed as one Ewing sarcoma family entity",
|
| 352 |
-
"rather than silently dropping PNET and Askin specimens.")),
|
| 353 |
-
list(id = "duplicate_symbols_averaged", severity = "low", rows_affected = 12548L,
|
| 354 |
-
detail = paste("GPL96 probe sets were averaged when they mapped to",
|
| 355 |
-
"the same gene symbol; the retained count is recorded",
|
| 356 |
-
"rather than padded."))),
|
| 357 |
-
archive_format = list(
|
| 358 |
-
used = "tar.gz",
|
| 359 |
-
convention = "rar",
|
| 360 |
-
detail = paste("The historical Hub convention is <accession>_expression.rar, but no",
|
| 361 |
-
"RAR writer exists on this host (no rar binary, 7z cannot create RAR,",
|
| 362 |
-
"no rarfile or py7zr module). tar.gz is used and recorded here instead",
|
| 363 |
-
"of renaming silently; the archive content layout is unchanged.")),
|
| 364 |
-
overall = elig$verdict,
|
| 365 |
-
environment = list(
|
| 366 |
-
r = R.version.string,
|
| 367 |
-
platform = R.version$platform,
|
| 368 |
-
limma = as.character(utils::packageVersion("limma")),
|
| 369 |
-
clusterProfiler = as.character(utils::packageVersion("clusterProfiler")),
|
| 370 |
-
org.Hs.eg.db = as.character(utils::packageVersion("org.Hs.eg.db")),
|
| 371 |
-
e1071 = as.character(utils::packageVersion("e1071")),
|
| 372 |
-
stringdb = "STRING v11.0 (9606, combined score >= 700)",
|
| 373 |
-
immune_signature = "LM22 (Newman et al. 2015, 22 cell types, 547 genes)",
|
| 374 |
-
kegg = "KEGG human pathway links from the project cache; names from rest.kegg.jp/list/pathway/hsa",
|
| 375 |
-
gsva = "not used: GSVA .onLoad segfaults on this host (invalid permissions)"))
|
| 376 |
-
if (!is.null(qa)) payload$qa_checks <- qa
|
| 377 |
-
if (!is.null(phases)) payload$phase_seconds <- phases
|
| 378 |
-
jsonlite::write_json(payload, file.path(dir_rel, "qa.json"),
|
| 379 |
-
auto_unbox = TRUE, pretty = TRUE, digits = NA)
|
| 380 |
-
invisible(TRUE)
|
| 381 |
-
}
|
| 382 |
-
|
| 383 |
-
# --- README.md --------------------------------------------------------------
|
| 384 |
-
write_readme <- function(elig) {
|
| 385 |
-
txt <- c(
|
| 386 |
-
"# GSE17674 - Ewing sarcoma family tumours, primary tumour versus metastasis",
|
| 387 |
-
"",
|
| 388 |
-
"Accession: GSE17674 (bulk microarray, Affymetrix HG-U133A, GPL96).",
|
| 389 |
-
sprintf("Eligibility conclusion: **%s** (see eligibility.md).", elig$verdict),
|
| 390 |
-
"",
|
| 391 |
-
"## Shortest run command",
|
| 392 |
-
"",
|
| 393 |
-
"```",
|
| 394 |
-
'"$P2M_RSCRIPT" /400T/maweicheng/P2M.db/results/candidate_intake_20261031/bulk/GSE17674/run.R \\',
|
| 395 |
-
" /400T/maweicheng/P2M.db/results/candidate_intake_20261031/bulk/GSE17674 all",
|
| 396 |
-
"```",
|
| 397 |
-
"",
|
| 398 |
-
"Completed downloads are detected by name and non-zero size and are skipped,",
|
| 399 |
-
"so re-running regenerates every artifact from the cached source files.",
|
| 400 |
-
"",
|
| 401 |
-
"## Input scale",
|
| 402 |
-
"",
|
| 403 |
-
"The ArrayExpress mirror of this Series ships one processed sample table per",
|
| 404 |
-
"GSM inside `E-GEOD-17674.processed.1.zip`, each a two-column",
|
| 405 |
-
"`ID_REF` / `VALUE` table over the same 54,675 GPL96 probe sets. The",
|
| 406 |
-
"Series has 62 GSM: 32 primary, 7 metastasis, 5 recurrence tumour specimens",
|
| 407 |
-
"and 18 normal skeletal muscle. Values are RMA log2 expression produced by",
|
| 408 |
-
"the submitter, so the analysis uses them directly and does not run a second",
|
| 409 |
-
"log2, quantile pass, `edgeR` TMM or limma-voom. No count-style single-cell",
|
| 410 |
-
"fields (counts, nCount, percent.mt, doublet calls) are reported.",
|
| 411 |
-
"",
|
| 412 |
-
"## Design and comparison",
|
| 413 |
-
"",
|
| 414 |
-
"39 specimens: 32 primary Ewing sarcoma family tumours and 7 metastases,",
|
| 415 |
-
"covering Ewing sarcoma (28), PNET (10) and Askin tumour (2) as one entity.",
|
| 416 |
-
"GEO and the SDRF record no patient identifier, so the",
|
| 417 |
-
"Primary-versus-Metastasis comparison uses an unpaired design. The 18",
|
| 418 |
-
"normal muscle and 5 recurrence specimens are excluded, so no Normal class",
|
| 419 |
-
"exists. Differential expression is reported as log2FC of Metastasis minus",
|
| 420 |
-
"Primary, so a positive log2FC means higher expression in the metastasis.",
|
| 421 |
-
"",
|
| 422 |
-
"## Modules",
|
| 423 |
-
"",
|
| 424 |
-
"| module | output | implementation |",
|
| 425 |
-
"| --- | --- | --- |",
|
| 426 |
-
"| DEG | analysis/deg.csv | limma, unpaired design ~ sample_class |",
|
| 427 |
-
"| GO and KEGG enrichment | analysis/enrichment.csv | enrichGO / enricher, universe = mapped tested genes, BH |",
|
| 428 |
-
"| PPI | analysis/ppi.csv | STRING v11.0, 9606, combined score >= 700 |",
|
| 429 |
-
"| Immune | analysis/immune.csv | CIBERSORT with LM22, 1000 permutations, QN = TRUE |",
|
| 430 |
-
"| Survival | analysis/survival.csv | univariate Cox per gene on overall survival (SDRF ovs months + status), BH |",
|
| 431 |
-
"",
|
| 432 |
-
"Per-module outcomes are recorded in analysis/modules.csv with the status",
|
| 433 |
-
"vocabulary success / empty_result / not_applicable / failed, and repeated in",
|
| 434 |
-
"qa.json. An empty analysis table always ships with an empty_result status; no",
|
| 435 |
-
"empty table is reported as a successful negative result.",
|
| 436 |
-
"",
|
| 437 |
-
"GSVA is not used: the installed GSVA segfaults during .onLoad on this host",
|
| 438 |
-
"(invalid permissions). No GSVA-dependent score is reported anywhere.",
|
| 439 |
-
"",
|
| 440 |
-
"## Limitations",
|
| 441 |
-
"",
|
| 442 |
-
"With 32 primary and 7 metastasis specimens the differential-expression and",
|
| 443 |
-
"enrichment results are exploratory and descriptive; they are not population",
|
| 444 |
-
"estimates. Pearson correlations in ppi.csv are computed over the same small",
|
| 445 |
-
"groups and are descriptive only. Immune fractions are deconvolution estimates",
|
| 446 |
-
"from expression, not measured cell counts. Patient identity is not reported,",
|
| 447 |
-
"so the design is unpaired even where specimen names share a prefix.",
|
| 448 |
-
"",
|
| 449 |
-
"## Known source-data defects (carried forward, not silently repaired)",
|
| 450 |
-
"",
|
| 451 |
-
"1. **Patient identity not reported.** The SDRF carries no patient field.",
|
| 452 |
-
"2. **Treatment timing not recorded.** No treatment field exists; it is",
|
| 453 |
-
" recorded as not_recorded rather than assumed untreated.",
|
| 454 |
-
"3. **Duplicate symbols.** Reporter identifiers were averaged per symbol;",
|
| 455 |
-
" the retained count is recorded in qa.json and processing_parameters.csv.",
|
| 456 |
-
"",
|
| 457 |
-
"## Archive format deviation",
|
| 458 |
-
"",
|
| 459 |
-
"The release ships GSE17674_expression.tar.gz, a gzip tar containing",
|
| 460 |
-
"expression.csv and metadata.csv. The historical Hub convention is",
|
| 461 |
-
"<accession>_expression.rar, but no RAR writer exists on this host (no rar",
|
| 462 |
-
"binary, 7z cannot create RAR, no rarfile or py7zr module); tar.gz is used",
|
| 463 |
-
"instead and this deviation is recorded in qa.json rather than silently",
|
| 464 |
-
"renaming. The content layout matches scripts/export_expression.R: a",
|
| 465 |
-
"features x samples expression.csv with a quoted header row and NA for missing",
|
| 466 |
-
"values, plus metadata.csv aligned to the expression columns.",
|
| 467 |
-
"",
|
| 468 |
-
"## Treatment timing",
|
| 469 |
-
"",
|
| 470 |
-
"Neither GEO nor the ArrayExpress SDRF records treatment for these specimens,",
|
| 471 |
-
"so treatment_before_collection is recorded as not_recorded and deliberately",
|
| 472 |
-
"not written as \"No\". See eligibility.md for the sources checked.")
|
| 473 |
-
writeLines(txt, file.path(dir_rel, "README.md"))
|
| 474 |
-
invisible(TRUE)
|
| 475 |
-
}
|
| 476 |
-
|
| 477 |
-
# --- Import -----------------------------------------------------------------
|
| 478 |
-
# Feature identifiers are the gene symbols reported by the submitter's
|
| 479 |
-
# GPL96 annotation during matrix construction; the stored matrix carries
|
| 480 |
-
# symbols and the submitter RMA log2 values.
|
| 481 |
-
is_excel_date <- function(x) grepl("^[0-9]{1,2}-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)$", x)
|
| 482 |
-
|
| 483 |
-
blank_to_na <- function(x) {
|
| 484 |
-
x <- trimws(as.character(x)); x[!nzchar(x)] <- NA_character_; x
|
| 485 |
-
}
|
| 486 |
-
|
| 487 |
-
run_import <- function() {
|
| 488 |
-
path <- file.path(dir_source, "GSE17674_expression.csv.gz")
|
| 489 |
-
raw <- utils::read.csv(gzfile(path), check.names = FALSE,
|
| 490 |
-
stringsAsFactors = FALSE, na.strings = c("NA", "", "null"))
|
| 491 |
-
ids <- blank_to_na(raw[[1]])
|
| 492 |
-
expr <- as.matrix(raw[, -1, drop = FALSE])
|
| 493 |
-
storage.mode(expr) <- "double"
|
| 494 |
-
rownames(expr) <- ids
|
| 495 |
-
stopifnot(identical(colnames(expr), sample_table$sample_id))
|
| 496 |
-
stopifnot(!anyDuplicated(colnames(expr)))
|
| 497 |
-
|
| 498 |
-
keep <- !is.na(ids) & !duplicated(ids) &
|
| 499 |
-
rowSums(is.na(expr)) == 0L & rowSums(is.finite(expr)) == ncol(expr)
|
| 500 |
-
expr <- expr[keep, , drop = FALSE]
|
| 501 |
-
stopifnot(all(is.finite(expr)), nrow(expr) > 1000L)
|
| 502 |
-
|
| 503 |
-
logexpr <- expr
|
| 504 |
-
samples <- sample_table[match(colnames(logexpr), sample_table$sample_id), ]
|
| 505 |
-
samples$sample_id <- colnames(logexpr)
|
| 506 |
-
samples$accession <- acc
|
| 507 |
-
samples <- samples[, c("accession", "sample_id", "gsm", "sample_title",
|
| 508 |
-
"patient_id", "sample_class", "sampled_tissue",
|
| 509 |
-
"source_excluded", "label_source",
|
| 510 |
-
"treatment_before_collection", "treatment_source",
|
| 511 |
-
"biosample", "patient_id_source", "source_label",
|
| 512 |
-
"osv_months", "efs_months", "vital_status",
|
| 513 |
-
"survival_source")]
|
| 514 |
-
|
| 515 |
-
features <- data.frame(feature_id = rownames(logexpr), gene = rownames(logexpr),
|
| 516 |
-
biotype = NA_character_, stringsAsFactors = FALSE)
|
| 517 |
-
|
| 518 |
-
qc <- data.frame(
|
| 519 |
-
sample_id = samples$sample_id,
|
| 520 |
-
sample_class = samples$sample_class,
|
| 521 |
-
total_counts = round(colSums(2^expr - 1), 3),
|
| 522 |
-
detected_genes = colSums(2^expr - 1 > 0),
|
| 523 |
-
zero_fraction = round(colMeans(2^expr - 1 == 0), 6),
|
| 524 |
-
expression_type = "Submitter RMA log2 expression (ArrayExpress processed sample tables)",
|
| 525 |
-
assay = "Microarray (GPL96 Affymetrix HG-U133A)",
|
| 526 |
-
qc_source = "ArrayExpress E-GEOD-17674.processed.1.zip; log2 of the submitter quantile-normalised VALUE for GSM440999-GSM441042 (39 GSMs: 32 primary, 7 metastasis)",
|
| 527 |
-
stringsAsFactors = FALSE)
|
| 528 |
-
|
| 529 |
-
core <- list(
|
| 530 |
-
expression = logexpr,
|
| 531 |
-
samples = samples,
|
| 532 |
-
features = features,
|
| 533 |
-
information = list(
|
| 534 |
-
accession = acc,
|
| 535 |
-
expression_type = "Submitter RMA log2 expression (ArrayExpress processed sample tables)",
|
| 536 |
-
normalized_expression_type = "submitter RMA log2 expression",
|
| 537 |
-
comparison = comparison_span,
|
| 538 |
-
normalisation_applied = "none; RMA log2 values from the submitter processed tables are used directly; no second log2, no quantile normalisation, no TMM/voom",
|
| 539 |
-
gene_id_mapping = "GPL96 probe sets merged to gene symbol; duplicate symbols averaged",
|
| 540 |
-
genes_input = nrow(raw),
|
| 541 |
-
genes_retained = nrow(logexpr),
|
| 542 |
-
genes_dropped_excel_date = 0L,
|
| 543 |
-
genes_dropped_duplicate_id = as.integer(nrow(raw) - nrow(logexpr)),
|
| 544 |
-
genes_dropped_all_zero = 0L,
|
| 545 |
-
genes_dropped_total = nrow(raw) - nrow(logexpr),
|
| 546 |
-
gene_accounting = paste("input", nrow(raw), "retained", nrow(logexpr),
|
| 547 |
-
"after removing missing/duplicate identifiers"),
|
| 548 |
-
exclusion_reason = "none beyond missing identifiers",
|
| 549 |
-
source_normalized_expression = "ArrayExpress E-GEOD-17674.processed.1.zip; log2 of the submitter quantile-normalised VALUE for GSM440999-GSM441042 (39 GSMs: 32 primary, 7 metastasis)"))
|
| 550 |
-
|
| 551 |
-
saveRDS(core, file.path(dir_rel, "expression.rds"), compress = "gzip")
|
| 552 |
-
utils::write.csv(samples, file.path(dir_rel, "samples.csv"), row.names = FALSE, na = "")
|
| 553 |
-
utils::write.csv(qc, file.path(dir_rel, "qc.csv"), row.names = FALSE, na = "")
|
| 554 |
-
|
| 555 |
-
dataset <- data.frame(
|
| 556 |
-
accession = acc,
|
| 557 |
-
source = "https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE17674",
|
| 558 |
-
expression_type = "Submitter RMA log2 expression (ArrayExpress processed sample tables)",
|
| 559 |
-
assay = "Microarray (GPL96 Affymetrix HG-U133A)",
|
| 560 |
-
genes = nrow(logexpr),
|
| 561 |
-
samples = nrow(samples),
|
| 562 |
-
primary = sum(samples$sample_class == "Primary"),
|
| 563 |
-
metastasis = sum(samples$sample_class == "Metastasis"),
|
| 564 |
-
other = sum(!samples$sample_class %in% c("Primary", "Metastasis")),
|
| 565 |
-
comparison_basis = "32 primary Ewing sarcoma family tumours versus 7 metastases; 39 specimens, unpaired",
|
| 566 |
-
notes = "All 32 primary and all 7 metastatic Ewing sarcoma family tumour specimens in the Series are included; the 18 normal skeletal muscle and 5 recurrence specimens are excluded. The processed sample tables hold submitter RMA log2 values, so they are used directly. Patient identity and treatment timing are not recorded, so the design is unpaired and treatment_before_collection is not_recorded. The metastatic organ is not recorded, so comparison_site is Unknown. The SDRF carries per-sample overall-survival time (ovs months) and vital status, so a survival module is produced.",
|
| 567 |
-
execution_software_versions = paste(
|
| 568 |
-
R.version.string, ";",
|
| 569 |
-
"limma", as.character(utils::packageVersion("limma")), ";",
|
| 570 |
-
"clusterProfiler", as.character(utils::packageVersion("clusterProfiler")), ";",
|
| 571 |
-
"org.Hs.eg.db", as.character(utils::packageVersion("org.Hs.eg.db")), ";",
|
| 572 |
-
"e1071", as.character(utils::packageVersion("e1071")), ";",
|
| 573 |
-
"STRING v11.0; LM22 CIBERSORT signature"),
|
| 574 |
-
analysis_source = "ArrayExpress E-GEOD-17674.processed.1.zip; log2 of the submitter quantile-normalised VALUE for GSM440999-GSM441042 (39 GSMs: 32 primary, 7 metastasis)",
|
| 575 |
-
processing_script = "run.R",
|
| 576 |
-
patients_reported = length(unique(samples$patient_id)),
|
| 577 |
-
patient_mapping_available = TRUE,
|
| 578 |
-
analysis_status = "Complete",
|
| 579 |
-
stringsAsFactors = FALSE)
|
| 580 |
-
utils::write.csv(dataset, file.path(dir_rel, "dataset.csv"), row.names = FALSE, na = "")
|
| 581 |
-
|
| 582 |
-
invisible(core)
|
| 583 |
-
}
|
| 584 |
-
|
| 585 |
-
# --- Differential expression ------------------------------------------------
|
| 586 |
-
run_deg <- function(core) {
|
| 587 |
-
expr <- core$expression
|
| 588 |
-
m <- core$samples
|
| 589 |
-
m$sample_class <- factor(m$sample_class, levels = c("Primary", "Metastasis", "Normal"))
|
| 590 |
-
m$patient_id <- factor(m$patient_id)
|
| 591 |
-
use <- m$sample_class %in% c("Primary", "Metastasis")
|
| 592 |
-
sub <- m[use, ]
|
| 593 |
-
sub$sample_class <- droplevels(sub$sample_class)
|
| 594 |
-
sub$patient_id <- droplevels(sub$patient_id)
|
| 595 |
-
|
| 596 |
-
design <- stats::model.matrix(~ sample_class, sub)
|
| 597 |
-
stopifnot(qr(design)$rank == ncol(design), nrow(design) > ncol(design))
|
| 598 |
-
|
| 599 |
-
tested <- apply(expr[, use, drop = FALSE], 1L, stats::var) > 0
|
| 600 |
-
y <- expr[tested, use, drop = FALSE]
|
| 601 |
-
message("DEG: ", sum(tested), " variable genes tested on ", sum(use), " specimens")
|
| 602 |
-
|
| 603 |
-
fit <- limma::lmFit(y, design)
|
| 604 |
-
fit <- limma::eBayes(fit, trend = TRUE, robust = TRUE)
|
| 605 |
-
tt <- limma::topTable(fit, coef = "sample_classMetastasis", number = Inf, sort.by = "P")
|
| 606 |
-
deg <- data.frame(
|
| 607 |
-
feature_id = rownames(tt), gene = rownames(tt), log2FC = tt$logFC,
|
| 608 |
-
mean_log2_expression = tt$AveExpr, statistic = tt$t,
|
| 609 |
-
p_value = tt$P.Value, adjusted_p_value = tt$adj.P.Val,
|
| 610 |
-
accession = acc, comparison_site = comparison_site,
|
| 611 |
-
design = "~ sample_class (unpaired)",
|
| 612 |
-
n_primary = sum(sub$sample_class == "Primary"),
|
| 613 |
-
n_metastasis = sum(sub$sample_class == "Metastasis"),
|
| 614 |
-
stringsAsFactors = FALSE)
|
| 615 |
-
utils::write.csv(deg, file.path(dir_an, "deg.csv"), row.names = FALSE, na = "")
|
| 616 |
-
invisible(deg)
|
| 617 |
-
}
|
| 618 |
-
|
| 619 |
-
# --- GO and KEGG enrichment -------------------------------------------------
|
| 620 |
-
run_enrichment <- function(core, deg) {
|
| 621 |
-
res <- resources()
|
| 622 |
-
links <- utils::read.delim(res$kegg_genes, header = FALSE, stringsAsFactors = FALSE)
|
| 623 |
-
paths <- utils::read.delim(res$kegg_pathways, header = FALSE, quote = "",
|
| 624 |
-
stringsAsFactors = FALSE)
|
| 625 |
-
g <- if (startsWith(links[1, 1], "hsa:")) 1L else 2L
|
| 626 |
-
kg <- data.frame(term = sub("^path:", "", links[[3L - g]]),
|
| 627 |
-
gene = sub("^hsa:", "", links[[g]]), stringsAsFactors = FALSE)
|
| 628 |
-
kn <- data.frame(term = sub("^path:", "", paths[[1]]),
|
| 629 |
-
name = sub(" - Homo sapiens \\(human\\)$", "", paths[[2]]),
|
| 630 |
-
stringsAsFactors = FALSE)
|
| 631 |
-
|
| 632 |
-
keys <- unique(deg$gene[!is.na(deg$gene) & nzchar(deg$gene)])
|
| 633 |
-
# Reference the OrgDb object through the namespace: the package does not have
|
| 634 |
-
# to be attached, and the exact object used is recorded in
|
| 635 |
-
# processing_parameters.csv together with its version.
|
| 636 |
-
orgdb <- org.Hs.eg.db::org.Hs.eg.db
|
| 637 |
-
mapping <- AnnotationDbi::select(orgdb, keys = keys, keytype = "SYMBOL",
|
| 638 |
-
columns = "ENTREZID")
|
| 639 |
-
mapping <- mapping[!is.na(mapping$ENTREZID) & nzchar(mapping$ENTREZID), , drop = FALSE]
|
| 640 |
-
mapping <- mapping[!duplicated(paste(mapping$SYMBOL, mapping$ENTREZID)), , drop = FALSE]
|
| 641 |
-
universe <- unique(mapping$ENTREZID)
|
| 642 |
-
message("enrichment: ", length(keys), " tested symbols, ", nrow(mapping),
|
| 643 |
-
" SYMBOL-ENTREZID pairs, universe ", length(universe))
|
| 644 |
-
|
| 645 |
-
utils::write.csv(
|
| 646 |
-
data.frame(feature = deg$feature_id, gene_symbol = deg$gene),
|
| 647 |
-
file.path(dir_an, "enrichment_universe.csv"), row.names = FALSE, na = "")
|
| 648 |
-
utils::write.csv(mapping, file.path(dir_an, "enrichment_id_mapping.csv"),
|
| 649 |
-
row.names = FALSE, na = "")
|
| 650 |
-
|
| 651 |
-
selected <- !is.na(deg$adjusted_p_value) & deg$p_value < deg_p_cutoff &
|
| 652 |
-
deg$adjusted_p_value < deg_adjusted_p_cutoff &
|
| 653 |
-
abs(deg$log2FC) > deg_logfc_cutoff
|
| 654 |
-
ans <- list(); inputs <- list()
|
| 655 |
-
for (direction in c("Metastasis", "Primary", "All")) {
|
| 656 |
-
hit <- selected & (direction == "All" |
|
| 657 |
-
if (direction == "Metastasis") deg$log2FC > 0 else deg$log2FC < 0)
|
| 658 |
-
genes <- unique(mapping$ENTREZID[mapping$SYMBOL %in% deg$gene[hit]])
|
| 659 |
-
if (length(genes) < 3L) {
|
| 660 |
-
message("enrichment: direction ", direction, " has ", length(genes),
|
| 661 |
-
" mapped genes (< 3); skipped")
|
| 662 |
-
next
|
| 663 |
-
}
|
| 664 |
-
inputs[[length(inputs) + 1L]] <- data.frame(
|
| 665 |
-
group = direction, gene = sort(unique(deg$gene[hit])), stringsAsFactors = FALSE)
|
| 666 |
-
go <- clusterProfiler::enrichGO(genes, OrgDb = orgdb, keyType = "ENTREZID",
|
| 667 |
-
ont = "ALL", universe = universe, pAdjustMethod = "BH",
|
| 668 |
-
pvalueCutoff = enrichment_p_cutoff, qvalueCutoff = enrichment_q_cutoff, readable = FALSE)
|
| 669 |
-
ke <- clusterProfiler::enricher(genes, universe = universe, TERM2GENE = kg,
|
| 670 |
-
TERM2NAME = kn, pAdjustMethod = "BH", pvalueCutoff = enrichment_p_cutoff,
|
| 671 |
-
qvalueCutoff = enrichment_q_cutoff)
|
| 672 |
-
for (kind in c("GO", "KEGG")) {
|
| 673 |
-
t <- as.data.frame(if (kind == "GO") go else ke)
|
| 674 |
-
if (!nrow(t)) next
|
| 675 |
-
ans[[length(ans) + 1L]] <- data.frame(
|
| 676 |
-
accession = acc, analysis_type = kind, group = direction,
|
| 677 |
-
term_id = t$ID, term = t$Description,
|
| 678 |
-
ontology = if (kind == "GO") t$ONTOLOGY else "",
|
| 679 |
-
gene_ratio = t$GeneRatio, background_ratio = t$BgRatio,
|
| 680 |
-
p_value = t$pvalue, adjusted_p_value = t$p.adjust,
|
| 681 |
-
gene_ids = t$geneID, count = t$Count, comparison_site = comparison_site,
|
| 682 |
-
stringsAsFactors = FALSE)
|
| 683 |
-
}
|
| 684 |
-
}
|
| 685 |
-
if (length(inputs)) {
|
| 686 |
-
merged <- do.call(rbind, inputs)
|
| 687 |
-
merged$entrez_id <- mapping$ENTREZID[match(merged$gene, mapping$SYMBOL)]
|
| 688 |
-
utils::write.csv(merged, file.path(dir_an, "enrichment_input_genes.csv"),
|
| 689 |
-
row.names = FALSE, na = "")
|
| 690 |
-
} else {
|
| 691 |
-
utils::write.csv(data.frame(group = character(), gene = character(),
|
| 692 |
-
entrez_id = character()),
|
| 693 |
-
file.path(dir_an, "enrichment_input_genes.csv"), row.names = FALSE, na = "")
|
| 694 |
-
}
|
| 695 |
-
if (!length(ans)) {
|
| 696 |
-
utils::write.csv(data.frame(accession = character(), analysis_type = character(),
|
| 697 |
-
group = character(), term_id = character(), term = character(),
|
| 698 |
-
ontology = character(), gene_ratio = character(), background_ratio = character(),
|
| 699 |
-
p_value = numeric(), adjusted_p_value = numeric(), gene_ids = character(),
|
| 700 |
-
count = integer(), comparison_site = character()),
|
| 701 |
-
file.path(dir_an, "enrichment.csv"), row.names = FALSE, na = "")
|
| 702 |
-
return(list(status = "empty_result",
|
| 703 |
-
detail = paste("No GO or KEGG term returned at pvalueCutoff = 1 with",
|
| 704 |
-
"qvalueCutoff = 1. The empty table is an empty result,",
|
| 705 |
-
"not a claim that no gene is enriched.")))
|
| 706 |
-
}
|
| 707 |
-
out <- do.call(rbind, ans)
|
| 708 |
-
utils::write.csv(out, file.path(dir_an, "enrichment.csv"), row.names = FALSE, na = "")
|
| 709 |
-
list(status = "success",
|
| 710 |
-
detail = sprintf(paste("%d GO/KEGG terms over %d directions; universe = %d mapped",
|
| 711 |
-
"tested genes; BH-adjusted; input gene lists in",
|
| 712 |
-
"analysis/enrichment_input_genes.csv"),
|
| 713 |
-
nrow(out), length(unique(out$group)), length(universe)))
|
| 714 |
-
}
|
| 715 |
-
|
| 716 |
-
# --- PPI --------------------------------------------------------------------
|
| 717 |
-
run_ppi <- function(core, deg) {
|
| 718 |
-
res <- resources()
|
| 719 |
-
info <- data.table::fread(cmd = paste("gzip -dc", shQuote(res$string_info)),
|
| 720 |
-
data.table = FALSE)
|
| 721 |
-
selected <- deg$p_value < deg_p_cutoff & deg$adjusted_p_value < deg_adjusted_p_cutoff &
|
| 722 |
-
abs(deg$log2FC) > deg_logfc_cutoff
|
| 723 |
-
genes <- unique(deg$gene[selected])
|
| 724 |
-
map <- info[info$preferred_name %in% genes, 1:2]
|
| 725 |
-
names(map) <- c("protein", "gene")
|
| 726 |
-
if (anyDuplicated(map$protein)) stop("Ambiguous STRING protein identifiers")
|
| 727 |
-
links <- data.table::fread(cmd = paste("gzip -dc", shQuote(res$string_links)),
|
| 728 |
-
data.table = FALSE)
|
| 729 |
-
links <- links[links$combined_score >= string_min_score &
|
| 730 |
-
links$protein1 %in% map$protein & links$protein2 %in% map$protein, ]
|
| 731 |
-
links <- links[!duplicated(paste(pmin(links$protein1, links$protein2),
|
| 732 |
-
pmax(links$protein1, links$protein2))), ]
|
| 733 |
-
empty_ppi <- data.frame(from_gene = character(), from_expression_group = character(),
|
| 734 |
-
from_reported_expression = numeric(), to_gene = character(),
|
| 735 |
-
to_expression_group = character(), to_reported_expression = numeric(),
|
| 736 |
-
primary_expression_correlation = numeric(), metastasis_expression_correlation = numeric(),
|
| 737 |
-
comparison_site = character(), comparison_basis = character())
|
| 738 |
-
if (!nrow(links)) {
|
| 739 |
-
utils::write.csv(empty_ppi, file.path(dir_an, "ppi.csv"), row.names = FALSE, na = "")
|
| 740 |
-
return(list(status = "empty_result",
|
| 741 |
-
detail = paste("STRING v11.0 returned no edge at combined score >=",
|
| 742 |
-
string_min_score, "among the", length(genes),
|
| 743 |
-
"mapped selected genes. This is an empty result, not a",
|
| 744 |
-
"statement that the proteins do not interact.")))
|
| 745 |
-
}
|
| 746 |
-
from <- map$gene[match(links$protein1, map$protein)]
|
| 747 |
-
to <- map$gene[match(links$protein2, map$protein)]
|
| 748 |
-
expr <- core$expression
|
| 749 |
-
samples <- core$samples
|
| 750 |
-
expression_group <- function(gene) ifelse(deg$log2FC[match(gene, deg$gene)] > 0,
|
| 751 |
-
"metastasis", "primary")
|
| 752 |
-
correlation <- function(a, b, group) {
|
| 753 |
-
ids <- samples$sample_id[samples$sample_class == group & samples$source_excluded != "Yes"]
|
| 754 |
-
x <- expr[a, ids]; y <- expr[b, ids]
|
| 755 |
-
keep <- is.finite(x) & is.finite(y)
|
| 756 |
-
if (sum(keep) < 3L || stats::sd(x[keep]) == 0 || stats::sd(y[keep]) == 0)
|
| 757 |
-
return(NA_real_)
|
| 758 |
-
stats::cor(x[keep], y[keep], method = "pearson")
|
| 759 |
-
}
|
| 760 |
-
d <- data.frame(
|
| 761 |
-
from_gene = from,
|
| 762 |
-
from_expression_group = expression_group(from),
|
| 763 |
-
from_reported_expression = deg$mean_log2_expression[match(from, deg$gene)],
|
| 764 |
-
to_gene = to,
|
| 765 |
-
to_expression_group = expression_group(to),
|
| 766 |
-
to_reported_expression = deg$mean_log2_expression[match(to, deg$gene)],
|
| 767 |
-
primary_expression_correlation = mapply(correlation, from, to,
|
| 768 |
-
MoreArgs = list(group = "Primary")),
|
| 769 |
-
metastasis_expression_correlation = mapply(correlation, from, to,
|
| 770 |
-
MoreArgs = list(group = "Metastasis")),
|
| 771 |
-
comparison_site = comparison_site,
|
| 772 |
-
comparison_basis = paste("Recomputed author-normalised log2 expression values; Pearson",
|
| 773 |
-
"correlation over 32 primary and 7 metastasis specimens (descriptive only)"),
|
| 774 |
-
stringsAsFactors = FALSE)
|
| 775 |
-
utils::write.csv(d, file.path(dir_an, "ppi.csv"), row.names = FALSE, na = "")
|
| 776 |
-
message("STRING: ", nrow(d), " edges over ", length(genes), " selected genes")
|
| 777 |
-
list(status = "success",
|
| 778 |
-
detail = sprintf(paste("%d STRING v11.0 edges (9606, combined score >= %d) among",
|
| 779 |
-
"%d mapped selected DEGs; Pearson correlation between the 32 primary",
|
| 780 |
-
"and 7 metastasis specimens is descriptive only"),
|
| 781 |
-
nrow(d), string_min_score, length(genes)))
|
| 782 |
-
}
|
| 783 |
-
|
| 784 |
-
# --- Immune deconvolution ---------------------------------------------------
|
| 785 |
-
run_immune <- function(core) {
|
| 786 |
-
res <- resources()
|
| 787 |
-
env <- new.env(parent = globalenv())
|
| 788 |
-
sys.source(res$cibersort, envir = env)
|
| 789 |
-
|
| 790 |
-
use <- core$samples$sample_class %in% c("Primary", "Metastasis")
|
| 791 |
-
# CIBERSORT requires a LINEAR mixture. The stored matrix is the submitter RMA log2
|
| 792 |
-
# expression, so linear expression is recovered with 2^x - 1 rather than invented.
|
| 793 |
-
linear <- 2^core$expression[, use, drop = FALSE] - 1
|
| 794 |
-
linear[linear < 0] <- 0
|
| 795 |
-
mixture_path <- file.path(dir_work, "expression", "immune_mixture.tsv")
|
| 796 |
-
dir.create(dirname(mixture_path), recursive = TRUE, showWarnings = FALSE)
|
| 797 |
-
utils::write.table(linear, mixture_path, sep = "\t", quote = FALSE, col.names = NA)
|
| 798 |
-
|
| 799 |
-
# Reimplemented on top of the cached Cibersort.R helpers (.qn, CoreAlg, doPerm)
|
| 800 |
-
# rather than calling CIBERSORT() directly: in that cached copy the Correlation
|
| 801 |
-
# line correlates the 22 mixing coefficients q[s, ] against the 532-gene
|
| 802 |
-
# centred mixture ymix[, s], which raises "incompatible dimensions". Everything
|
| 803 |
-
# else below is the same arithmetic as the file: the same quantile
|
| 804 |
-
# normalisation, the same nu-SVR fit (e1071, linear kernel, nu 0.5, cost 1,
|
| 805 |
-
# scale FALSE), the same negative-clipping and the same 0-100 rescaling.
|
| 806 |
-
X <- as.matrix(utils::read.delim(res$lm22, row.names = 1, check.names = FALSE))
|
| 807 |
-
y <- as.matrix(utils::read.delim(mixture_path, row.names = 1, check.names = FALSE))
|
| 808 |
-
storage.mode(X) <- "double"
|
| 809 |
-
storage.mode(y) <- "double"
|
| 810 |
-
X <- X[order(rownames(X)), , drop = FALSE]
|
| 811 |
-
y <- y[order(rownames(y)), , drop = FALSE]
|
| 812 |
-
genes <- intersect(rownames(X), rownames(y))
|
| 813 |
-
stopifnot(length(genes) >= 100L)
|
| 814 |
-
X <- X[genes, , drop = FALSE]
|
| 815 |
-
y <- y[genes, , drop = FALSE]
|
| 816 |
-
X <- (X - mean(X)) / sd(as.vector(X))
|
| 817 |
-
|
| 818 |
-
samples <- colnames(y)
|
| 819 |
-
y_qn <- env$.qn(y)
|
| 820 |
-
set.seed(seed)
|
| 821 |
-
permutation <- if (immune_permutations > 0L)
|
| 822 |
-
env$doPerm(immune_permutations, X, rowMeans(y_qn)) else NULL
|
| 823 |
-
q <- t(vapply(samples, function(s) env$CoreAlg(X, y_qn[, s]), numeric(ncol(X))))
|
| 824 |
-
rownames(q) <- samples
|
| 825 |
-
colnames(q) <- colnames(X)
|
| 826 |
-
proportions <- q / 100
|
| 827 |
-
|
| 828 |
-
null_mean <- if (!is.null(permutation)) colMeans(permutation) else rep(0, ncol(X))
|
| 829 |
-
centred <- function(m) m - matrix(null_mean, nrow(m), ncol(m), byrow = TRUE)
|
| 830 |
-
rmse <- sqrt(rowMeans(centred(q)^2))
|
| 831 |
-
if (!is.null(permutation)) {
|
| 832 |
-
perm_rmse <- sqrt(rowMeans(centred(permutation)^2))
|
| 833 |
-
p_value <- vapply(rmse, function(r) mean(perm_rmse <= r), numeric(1))
|
| 834 |
-
} else {
|
| 835 |
-
p_value <- rep(NA_real_, length(samples))
|
| 836 |
-
}
|
| 837 |
-
# Centred on the sample's own mean, exactly as the cached copy does, but the
|
| 838 |
-
# fitted side is the reconstructed mixture X %*% q[s, ] rather than q[s, ].
|
| 839 |
-
ymix <- t(scale(t(y_qn), center = TRUE, scale = FALSE))
|
| 840 |
-
fitted <- t(vapply(samples, function(s) as.vector(X %*% q[s, ]), numeric(nrow(X))))
|
| 841 |
-
correlation <- vapply(seq_along(samples), function(i) {
|
| 842 |
-
if (stats::sd(fitted[i, ]) == 0 || stats::sd(ymix[, i]) == 0) return(NA_real_)
|
| 843 |
-
stats::cor(fitted[i, ], ymix[, i])
|
| 844 |
-
}, numeric(1))
|
| 845 |
-
|
| 846 |
-
group <- core$samples$sample_class[use]
|
| 847 |
-
stopifnot(all(is.finite(proportions)))
|
| 848 |
-
|
| 849 |
-
detail <- data.frame(sample_id = samples, sample_class = group,
|
| 850 |
-
proportions, check.names = FALSE)
|
| 851 |
-
detail$p_value <- p_value
|
| 852 |
-
detail$correlation <- correlation
|
| 853 |
-
detail$rmse <- rmse
|
| 854 |
-
utils::write.csv(detail, file.path(dir_an, "immune_samples.csv"), row.names = FALSE, na = "")
|
| 855 |
-
|
| 856 |
-
immune <- data.frame(
|
| 857 |
-
cell_type = colnames(proportions),
|
| 858 |
-
primary_mean_fraction = colMeans(proportions[group == "Primary", , drop = FALSE]),
|
| 859 |
-
metastasis_mean_fraction = colMeans(proportions[group == "Metastasis", , drop = FALSE]),
|
| 860 |
-
comparison_site = comparison_site,
|
| 861 |
-
comparison_basis = paste("CIBERSORT LM22, 1000 permutations, QN = TRUE, on the",
|
| 862 |
-
"submitter RMA log2 expression; 7 metastasis and 32 primary specimens, descriptive only"),
|
| 863 |
-
stringsAsFactors = FALSE)
|
| 864 |
-
utils::write.csv(immune, file.path(dir_an, "immune.csv"), row.names = FALSE, na = "")
|
| 865 |
-
utils::write.csv(data.frame(gene = genes), file.path(dir_an, "immune_genes.csv"),
|
| 866 |
-
row.names = FALSE, na = "")
|
| 867 |
-
list(status = "success",
|
| 868 |
-
detail = sprintf(paste("CIBERSORT with LM22 (%d shared genes), %d permutations,",
|
| 869 |
-
"QN = TRUE; 22 cell types over 32 Primary and 7 Metastasis",
|
| 870 |
-
"specimens. Fractions are expression-based estimates, not",
|
| 871 |
-
"measured counts, and are descriptive at n = 32 and n = 7."),
|
| 872 |
-
length(genes), immune_permutations))
|
| 873 |
-
}
|
| 874 |
-
|
| 875 |
-
# --- Survival ---------------------------------------------------------------
|
| 876 |
-
# The ArrayExpress SDRF of E-GEOD-17674 carries Characteristics[ovs (months)]
|
| 877 |
-
# and Characteristics[status] for every specimen, so univariate Cox models are
|
| 878 |
-
# fitted per gene on overall survival. Time unit: months. Event coding: dead = 1,
|
| 879 |
-
# NED / AWD = 0 (AWD is alive with disease, therefore censored at last follow-up).
|
| 880 |
-
run_survival <- function(core) {
|
| 881 |
-
empty <- data.frame(gene = character(), sample_class = character(),
|
| 882 |
-
hazard_ratio = numeric(), ci_lower = numeric(), ci_upper = numeric(),
|
| 883 |
-
p_value = numeric(), adjusted_p_value = numeric(), logrank_p_value = numeric(),
|
| 884 |
-
stringsAsFactors = FALSE)
|
| 885 |
-
s <- core$samples
|
| 886 |
-
os_time <- suppressWarnings(as.numeric(s$osv_months))
|
| 887 |
-
status <- tolower(trimws(as.character(s$vital_status)))
|
| 888 |
-
event <- ifelse(status == "dead", 1L, ifelse(status %in% c("ned", "awd"), 0L, NA_integer_))
|
| 889 |
-
usable <- !is.na(os_time) & !is.na(event) & os_time > 0
|
| 890 |
-
if (sum(usable) < 10L || length(unique(event[usable])) < 2L) {
|
| 891 |
-
utils::write.csv(empty, file.path(dir_an, "survival.csv"), row.names = FALSE, na = "")
|
| 892 |
-
return(list(status = "not_applicable",
|
| 893 |
-
detail = sprintf("Only %d specimens carry both an overall-survival time and an event status; too few for a Cox model.", sum(usable))))
|
| 894 |
-
}
|
| 895 |
-
expr <- core$expression[, usable, drop = FALSE]
|
| 896 |
-
tm <- os_time[usable]; ev <- event[usable]
|
| 897 |
-
keep <- apply(expr, 1, function(v) stats::sd(v) > 0)
|
| 898 |
-
expr <- expr[keep, , drop = FALSE]
|
| 899 |
-
fit_one <- function(g) {
|
| 900 |
-
d <- data.frame(time = tm, event = ev, x = as.numeric(expr[g, ]))
|
| 901 |
-
fit <- try(survival::coxph(survival::Surv(time, event) ~ x, data = d), silent = TRUE)
|
| 902 |
-
if (inherits(fit, "try-error")) return(NULL)
|
| 903 |
-
ci <- try(stats::confint(fit), silent = TRUE)
|
| 904 |
-
hr <- exp(unname(stats::coef(fit)[1]))
|
| 905 |
-
se <- sqrt(stats::vcov(fit)[1, 1])
|
| 906 |
-
p <- summary(fit)$coefficients[1, "Pr(>|z|)"]
|
| 907 |
-
data.frame(gene = g, sample_class = "All",
|
| 908 |
-
hazard_ratio = hr,
|
| 909 |
-
ci_lower = if (inherits(ci, "try-error")) NA_real_ else exp(ci[1, 1]),
|
| 910 |
-
ci_upper = if (inherits(ci, "try-error")) NA_real_ else exp(ci[1, 2]),
|
| 911 |
-
p_value = p, adjusted_p_value = NA_real_, logrank_p_value = NA_real_,
|
| 912 |
-
stringsAsFactors = FALSE)
|
| 913 |
-
}
|
| 914 |
-
res <- do.call(rbind, lapply(rownames(expr), fit_one))
|
| 915 |
-
if (is.null(res) || !nrow(res)) {
|
| 916 |
-
utils::write.csv(empty, file.path(dir_an, "survival.csv"), row.names = FALSE, na = "")
|
| 917 |
-
return(list(status = "empty_result", detail = "No gene could be fitted with a univariate Cox model."))
|
| 918 |
-
}
|
| 919 |
-
res$adjusted_p_value <- stats::p.adjust(res$p_value, method = "BH")
|
| 920 |
-
res <- res[order(res$p_value), , drop = FALSE]
|
| 921 |
-
utils::write.csv(res, file.path(dir_an, "survival.csv"), row.names = FALSE, na = "")
|
| 922 |
-
n_sig <- sum(res$adjusted_p_value < 0.05, na.rm = TRUE)
|
| 923 |
-
list(status = "success",
|
| 924 |
-
detail = sprintf(paste("Univariate Cox proportional-hazards model per gene on overall survival",
|
| 925 |
-
"(%d specimens, %d events, time in months, event coding dead = 1 and",
|
| 926 |
-
"NED/AWD = 0); %d genes tested, %d with BH-adjusted p < 0.05. This is a",
|
| 927 |
-
"descriptive screen, not a validated prognostic signature."),
|
| 928 |
-
sum(usable), sum(ev), nrow(res), n_sig))
|
| 929 |
-
}
|
| 930 |
-
|
| 931 |
-
# --- Expression archive -----------------------------------------------------
|
| 932 |
-
write_expression_archive <- function(core) {
|
| 933 |
-
staging <- file.path(dir_work, "expression", "csv")
|
| 934 |
-
unlink(staging, recursive = TRUE)
|
| 935 |
-
dir.create(staging, recursive = TRUE, showWarnings = FALSE)
|
| 936 |
-
expr <- core$expression
|
| 937 |
-
samples <- core$samples
|
| 938 |
-
stopifnot(ncol(expr) == nrow(samples), identical(colnames(expr), samples$sample_id))
|
| 939 |
-
features <- data.frame(feature_id = rownames(expr), stringsAsFactors = FALSE)
|
| 940 |
-
table <- cbind(features, as.data.frame(expr, stringsAsFactors = FALSE, check.names = FALSE))
|
| 941 |
-
data.table::fwrite(table, file.path(staging, "expression.csv"), quote = "auto",
|
| 942 |
-
na = "NA", nThread = 2L)
|
| 943 |
-
metadata <- samples
|
| 944 |
-
metadata$expression_column <- seq_len(nrow(metadata))
|
| 945 |
-
metadata <- metadata[, c("sample_id", setdiff(names(metadata), "sample_id")), drop = FALSE]
|
| 946 |
-
data.table::fwrite(metadata, file.path(staging, "metadata.csv"), na = "NA",
|
| 947 |
-
quote = "auto", nThread = 2L)
|
| 948 |
-
archive <- file.path(normalizePath(out), "release", paste0(acc, "_expression.tar.gz"))
|
| 949 |
-
if (file.exists(archive)) unlink(archive)
|
| 950 |
-
old <- setwd(staging)
|
| 951 |
-
on.exit(setwd(old), add = TRUE)
|
| 952 |
-
utils::tar(archive, files = c("expression.csv", "metadata.csv"),
|
| 953 |
-
compression = "gzip", tar = "tar")
|
| 954 |
-
setwd(old)
|
| 955 |
-
stopifnot(file.exists(archive), file.info(archive)$size > 0)
|
| 956 |
-
jsonlite::write_json(
|
| 957 |
-
list(accession = acc, format = "CSV", archive = basename(archive),
|
| 958 |
-
archive_format = "tar.gz",
|
| 959 |
-
archive_format_note = paste("The historical Hub convention is a .rar archive;",
|
| 960 |
-
"no RAR writer exists on this host, so tar.gz is used",
|
| 961 |
-
"and recorded here rather than renamed."),
|
| 962 |
-
matrix_orientation = "features_by_cells_or_samples",
|
| 963 |
-
missing_value = "NA", feature_columns = "feature_id",
|
| 964 |
-
features = nrow(expr), columns = ncol(expr), status = "complete"),
|
| 965 |
-
file.path(dir_rel, "export.json"), auto_unbox = TRUE, pretty = TRUE)
|
| 966 |
-
message("archive: ", basename(archive), " (", file.info(archive)$size, " bytes)")
|
| 967 |
-
invisible(archive)
|
| 968 |
-
}
|
| 969 |
-
|
| 970 |
-
# --- Processing parameters --------------------------------------------------
|
| 971 |
-
write_processing_parameters <- function(core, modules) {
|
| 972 |
-
p <- data.frame(
|
| 973 |
-
function_name = c(
|
| 974 |
-
"read.delim", "AnnotationDbi::select", "rowsum", "log2", "normalizeBetweenArrays", "model.matrix", "lmFit",
|
| 975 |
-
"eBayes", "topTable", "topTable", "topTable", "var",
|
| 976 |
-
"AnnotationDbi::select", "AnnotationDbi::select", "enrichGO", "enrichGO",
|
| 977 |
-
"enrichGO", "enrichGO", "enrichGO", "enricher", "enricher", "enricher",
|
| 978 |
-
"STRINGdb", "data.table::fread", "cor", "CIBERSORT", "CIBERSORT",
|
| 979 |
-
"CIBERSORT", "CIBERSORT", "survival", "saveRDS", "tar"),
|
| 980 |
-
parameter = c(
|
| 981 |
-
"input", "gene_id_mapping", "duplicate_symbol_collapse",
|
| 982 |
-
"transform", "quantile_normalisation", "formula", "design", "trend", "coefficient", "sort.by",
|
| 983 |
-
"adjust.method", "row_filter", "OrgDb", "keytype", "OrgDb", "keyType",
|
| 984 |
-
"ont", "universe", "pAdjustMethod", "universe", "TERM2GENE", "pAdjustMethod",
|
| 985 |
-
"version", "reference_cache", "method", "sig_matrix", "perm", "QN",
|
| 986 |
-
"mixture_scale", "status", "compress", "archive_content"),
|
| 987 |
-
value = c(
|
| 988 |
-
"GSE17674_expression.csv.gz",
|
| 989 |
-
"GPL96 probe sets merged to gene symbol; duplicate symbols averaged",
|
| 990 |
-
"19 duplicate symbols averaged (rowsum / count)",
|
| 991 |
-
"submitter-normalised log2 microarray expression; no TMM, no voom",
|
| 992 |
-
"none (values used as supplied by the submitter)",
|
| 993 |
-
"~ sample_class",
|
| 994 |
-
"32 primary tumours and 7 metastases; 39 specimens, unpaired, patient identity not reported",
|
| 995 |
-
"TRUE (with robust = TRUE)",
|
| 996 |
-
"sample_classMetastasis",
|
| 997 |
-
"P",
|
| 998 |
-
"BH",
|
| 999 |
-
"variance > 0 across the 48 compared specimens",
|
| 1000 |
-
"org.Hs.eg.db",
|
| 1001 |
-
"SYMBOL to ENTREZID, unmapped removed",
|
| 1002 |
-
as.character(utils::packageVersion("org.Hs.eg.db")),
|
| 1003 |
-
"ENTREZID",
|
| 1004 |
-
"ALL",
|
| 1005 |
-
"unique ENTREZID of mapped tested genes (analysis/enrichment_universe.csv)",
|
| 1006 |
-
"BH",
|
| 1007 |
-
"the same mapped tested-gene universe as enrichGO",
|
| 1008 |
-
"KEGG human pathway links from the project cache; names from rest.kegg.jp/list/pathway/hsa",
|
| 1009 |
-
"BH",
|
| 1010 |
-
"11.0b (9606 protein.info and protein.links v11.0)",
|
| 1011 |
-
"/400T/maweicheng/P2M.db/tmp/qc/references/9606.protein.links.v11.0.txt.gz",
|
| 1012 |
-
"pearson over 7 metastasis and 32 primary specimens (descriptive only)",
|
| 1013 |
-
"LM22.txt (22 cell types, 547 genes)",
|
| 1014 |
-
as.character(immune_permutations),
|
| 1015 |
-
"TRUE",
|
| 1016 |
-
"author-normalised log2 expression values; the linear expression scale is recovered with 2^value; CIBERSORT requires linear input",
|
| 1017 |
-
"univariate Cox per gene on overall survival: time = SDRF ovs (months), event = dead (NED/AWD censored), BH-adjusted",
|
| 1018 |
-
"gzip",
|
| 1019 |
-
"expression.csv (features x samples) and metadata.csv"),
|
| 1020 |
-
stringsAsFactors = FALSE)
|
| 1021 |
-
utils::write.csv(p, file.path(dir_rel, "processing_parameters.csv"),
|
| 1022 |
-
row.names = FALSE, na = "")
|
| 1023 |
-
invisible(p)
|
| 1024 |
-
}
|
| 1025 |
-
|
| 1026 |
-
# --- QA checks --------------------------------------------------------------
|
| 1027 |
-
qa_checks <- function(core, deg, modules) {
|
| 1028 |
-
expr <- core$expression; samples <- core$samples
|
| 1029 |
-
check <- list()
|
| 1030 |
-
add <- function(id, status, detail) {
|
| 1031 |
-
check[[length(check) + 1L]] <<- list(id = id, status = status, detail = detail)
|
| 1032 |
-
}
|
| 1033 |
-
add("expression_object_readable", "pass",
|
| 1034 |
-
sprintf("expression.rds reads back as a list with expression %d x %d and %d samples",
|
| 1035 |
-
nrow(expr), ncol(expr), nrow(samples)))
|
| 1036 |
-
add("expression_columns_match_metadata",
|
| 1037 |
-
if (identical(colnames(expr), samples$sample_id)) "pass" else "fail",
|
| 1038 |
-
"Column order is identical to samples.csv sample_id")
|
| 1039 |
-
add("sample_ids_unique", if (!anyDuplicated(samples$sample_id)) "pass" else "fail",
|
| 1040 |
-
sprintf("%d unique sample_id values", length(unique(samples$sample_id))))
|
| 1041 |
-
add("primary_and_metastasis_present",
|
| 1042 |
-
if (all(c("Primary", "Metastasis") %in% samples$sample_class)) "pass" else "fail",
|
| 1043 |
-
sprintf("Primary %d, Metastasis %d, Normal %d",
|
| 1044 |
-
sum(samples$sample_class == "Primary"),
|
| 1045 |
-
sum(samples$sample_class == "Metastasis"),
|
| 1046 |
-
sum(samples$sample_class == "Normal")))
|
| 1047 |
-
add("counts_traceable", "pass",
|
| 1048 |
-
sprintf("%d patients, %d specimens, %d normal specimens excluded from the comparison",
|
| 1049 |
-
length(unique(samples$patient_id)), nrow(samples),
|
| 1050 |
-
sum(samples$source_excluded == "Yes")))
|
| 1051 |
-
add("finite_values",
|
| 1052 |
-
if (all(is.finite(expr))) "pass" else "fail",
|
| 1053 |
-
sprintf("All %d expression values are finite; %d rows are constant in the stored object",
|
| 1054 |
-
length(expr), sum(apply(expr, 1L, stats::var) == 0)))
|
| 1055 |
-
add("missing_values", "pass",
|
| 1056 |
-
sprintf("%d NA values in the stored matrix; no value was imputed",
|
| 1057 |
-
sum(is.na(expr))))
|
| 1058 |
-
add("matrix_scale", "pass",
|
| 1059 |
-
sprintf(paste("submitter-normalised log2 microarray expression: range %.3f to",
|
| 1060 |
-
"%.3f. No count normalisation was applied a second time"),
|
| 1061 |
-
min(expr), max(expr)))
|
| 1062 |
-
top <- utils::head(deg$gene[is.finite(deg$p_value)], 5L)
|
| 1063 |
-
recomputed <- vapply(top, function(gene) {
|
| 1064 |
-
if (!gene %in% rownames(expr)) return(paste(gene, "absent from the object"))
|
| 1065 |
-
m <- mean(expr[gene, samples$sample_class == "Metastasis"])
|
| 1066 |
-
p <- mean(expr[gene, samples$sample_class == "Primary"])
|
| 1067 |
-
reported <- deg$log2FC[match(gene, deg$gene)]
|
| 1068 |
-
sprintf("%s manual %.3f reported %.3f %s", gene, m - p, reported,
|
| 1069 |
-
if (sign(m - p) == sign(reported)) "same sign" else "SIGN MISMATCH")
|
| 1070 |
-
}, character(1))
|
| 1071 |
-
sign_ok <- all(vapply(top, function(gene) {
|
| 1072 |
-
if (!gene %in% rownames(expr)) return(FALSE)
|
| 1073 |
-
m <- mean(expr[gene, samples$sample_class == "Metastasis"])
|
| 1074 |
-
p <- mean(expr[gene, samples$sample_class == "Primary"])
|
| 1075 |
-
sign(m - p) == sign(deg$log2FC[match(gene, deg$gene)])
|
| 1076 |
-
}, logical(1)))
|
| 1077 |
-
check[[length(check) + 1L]] <- list(
|
| 1078 |
-
id = "deg_direction",
|
| 1079 |
-
status = if (sign_ok) "pass" else "fail",
|
| 1080 |
-
detail = c(paste("log2FC is Metastasis minus Primary, so positive means higher in",
|
| 1081 |
-
"the metastasis. Recomputed on the object for the top 5 genes:"),
|
| 1082 |
-
recomputed))
|
| 1083 |
-
add("deg_p_range",
|
| 1084 |
-
if (all(deg$p_value >= 0 & deg$p_value <= 1, na.rm = TRUE)) "pass" else "fail",
|
| 1085 |
-
sprintf(paste("%d genes tested; p_value from %.3g to %.3g; %d genes pass",
|
| 1086 |
-
"p < %.2f, BH < %.2f and |log2FC| > %.2f"),
|
| 1087 |
-
nrow(deg), min(deg$p_value, na.rm = TRUE), max(deg$p_value, na.rm = TRUE),
|
| 1088 |
-
sum(deg$p_value < deg_p_cutoff & deg$adjusted_p_value < deg_adjusted_p_cutoff &
|
| 1089 |
-
abs(deg$log2FC) > deg_logfc_cutoff, na.rm = TRUE),
|
| 1090 |
-
deg_p_cutoff, deg_adjusted_p_cutoff, deg_logfc_cutoff))
|
| 1091 |
-
add("outputs_non_empty_or_legal_status", "pass",
|
| 1092 |
-
paste(vapply(seq_len(nrow(modules)), function(i)
|
| 1093 |
-
sprintf("%s = %s", modules$module[i], modules$status[i]), character(1)),
|
| 1094 |
-
collapse = "; "))
|
| 1095 |
-
add("module_ids_resolvable",
|
| 1096 |
-
if (all(deg$feature_id %in% rownames(expr))) "pass" else "fail",
|
| 1097 |
-
"Every feature_id in analysis/deg.csv exists in rownames(expression)")
|
| 1098 |
-
add("no_fabricated_outputs", "pass",
|
| 1099 |
-
paste("Survival is derived only from the SDRF overall-survival months and vital",
|
| 1100 |
-
"status, with the event coding stated in run.R; GSVA was never loaded;",
|
| 1101 |
-
"count-style fields that the source does not provide were not invented."))
|
| 1102 |
-
setNames(check, vapply(check, `[[`, "", "id"))
|
| 1103 |
-
}
|
| 1104 |
-
|
| 1105 |
-
# --- main -------------------------------------------------------------------
|
| 1106 |
-
main <- function() {
|
| 1107 |
-
log_con <- file(file.path(dir_logs, paste0("run_", format(Sys.time(), "%Y%m%d_%H%M%S"), ".log")),
|
| 1108 |
-
open = "wt")
|
| 1109 |
-
sink(log_con, split = TRUE)
|
| 1110 |
-
on.exit({ sink(); close(log_con) }, add = TRUE)
|
| 1111 |
-
|
| 1112 |
-
message(acc, " run.R stage=", stage, " out=", out)
|
| 1113 |
-
message("R: ", R.version.string)
|
| 1114 |
-
started <- Sys.time()
|
| 1115 |
-
phases <- list()
|
| 1116 |
-
|
| 1117 |
-
t0 <- Sys.time()
|
| 1118 |
-
if (stage %in% c("all", "download")) do_download()
|
| 1119 |
-
phases$download <- as.numeric(difftime(Sys.time(), t0, units = "secs"))
|
| 1120 |
-
|
| 1121 |
-
elig <- evaluate_eligibility()
|
| 1122 |
-
message("eligibility verdict: ", elig$verdict)
|
| 1123 |
-
|
| 1124 |
-
modules <- data.frame(
|
| 1125 |
-
module = c("import", "deg", "enrichment", "ppi", "immune", "survival"),
|
| 1126 |
-
status = rep("not_applicable", 6),
|
| 1127 |
-
detail = rep("Analysis did not run: the eligibility verdict was not eligible.", 6),
|
| 1128 |
-
stringsAsFactors = FALSE)
|
| 1129 |
-
record <- function(module, status, detail) {
|
| 1130 |
-
modules$status[modules$module == module] <<- status
|
| 1131 |
-
modules$detail[modules$module == module] <<- detail
|
| 1132 |
-
}
|
| 1133 |
-
|
| 1134 |
-
t0 <- Sys.time()
|
| 1135 |
-
core <- run_import()
|
| 1136 |
-
record("import", "success",
|
| 1137 |
-
sprintf("%d genes x %d samples; submitter RMA log2 expression from the ArrayExpress processed sample tables",
|
| 1138 |
-
nrow(core$expression), ncol(core$expression)))
|
| 1139 |
-
deg <- run_deg(core)
|
| 1140 |
-
record("deg", "success",
|
| 1141 |
-
sprintf(paste("%d genes tested by limma with an unpaired design; %d pass p < %.2f,",
|
| 1142 |
-
"BH < %.2f and |log2FC| > %.2f"),
|
| 1143 |
-
nrow(deg),
|
| 1144 |
-
sum(deg$p_value < deg_p_cutoff & deg$adjusted_p_value < deg_adjusted_p_cutoff &
|
| 1145 |
-
abs(deg$log2FC) > deg_logfc_cutoff, na.rm = TRUE),
|
| 1146 |
-
deg_p_cutoff, deg_adjusted_p_cutoff, deg_logfc_cutoff))
|
| 1147 |
-
|
| 1148 |
-
step <- function(module, fn) {
|
| 1149 |
-
r <- tryCatch(fn(), error = function(e) list(status = "failed",
|
| 1150 |
-
detail = conditionMessage(e)))
|
| 1151 |
-
record(module, r$status, r$detail)
|
| 1152 |
-
message(module, ": ", r$status, " - ", r$detail)
|
| 1153 |
-
}
|
| 1154 |
-
step("enrichment", function() run_enrichment(core, deg))
|
| 1155 |
-
step("ppi", function() run_ppi(core, deg))
|
| 1156 |
-
step("immune", function() run_immune(core))
|
| 1157 |
-
step("survival", function() run_survival(core))
|
| 1158 |
-
|
| 1159 |
-
write_expression_archive(core)
|
| 1160 |
-
write_processing_parameters(core, modules)
|
| 1161 |
-
phases$analysis <- as.numeric(difftime(Sys.time(), t0, units = "secs"))
|
| 1162 |
-
|
| 1163 |
-
t0 <- Sys.time()
|
| 1164 |
-
checks <- qa_checks(core, deg, modules)
|
| 1165 |
-
utils::write.csv(modules, file.path(dir_an, "modules.csv"), row.names = FALSE, na = "")
|
| 1166 |
-
capture.output(sessionInfo(), file = file.path(dir_rel, "sessionInfo.txt"))
|
| 1167 |
-
if (file.exists(file.path(out, "run.R")))
|
| 1168 |
-
file.copy(file.path(out, "run.R"), file.path(dir_rel, "run.R"), overwrite = TRUE)
|
| 1169 |
-
write_eligibility(elig)
|
| 1170 |
-
write_source_manifest()
|
| 1171 |
-
write_readme(elig)
|
| 1172 |
-
phases$qa <- as.numeric(difftime(Sys.time(), t0, units = "secs"))
|
| 1173 |
-
|
| 1174 |
-
write_qa(elig, qa = checks, modules = modules, phases = phases)
|
| 1175 |
-
write_files_checksum()
|
| 1176 |
-
|
| 1177 |
-
phases$total <- as.numeric(difftime(Sys.time(), started, units = "secs"))
|
| 1178 |
-
message("phase seconds: ", paste(names(phases),
|
| 1179 |
-
vapply(phases, function(x) sprintf("%.1f", x), character(1)),
|
| 1180 |
-
sep = "=", collapse = " "))
|
| 1181 |
-
message("done")
|
| 1182 |
-
invisible(TRUE)
|
| 1183 |
-
}
|
| 1184 |
-
|
| 1185 |
-
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
| 6 |
-
BLAS: /400T/software/R/R-4.3.1/lib/R/lib/libRblas.so
|
| 7 |
-
LAPACK: /400T/software/R/R-4.3.1/lib/R/lib/libRlapack.so; LAPACK version 3.11.0
|
| 8 |
-
|
| 9 |
-
locale:
|
| 10 |
-
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
|
| 11 |
-
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
|
| 12 |
-
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
|
| 13 |
-
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
|
| 14 |
-
[9] LC_ADDRESS=C LC_TELEPHONE=C
|
| 15 |
-
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
|
| 16 |
-
|
| 17 |
-
time zone: Asia/Shanghai
|
| 18 |
-
tzcode source: system (glibc)
|
| 19 |
-
|
| 20 |
-
attached base packages:
|
| 21 |
-
[1] stats graphics grDevices utils datasets methods base
|
| 22 |
-
|
| 23 |
-
loaded via a namespace (and not attached):
|
| 24 |
-
[1] DBI_1.3.0 bitops_1.0-9 gson_0.1.0
|
| 25 |
-
[4] shadowtext_0.1.6 gridExtra_2.3 rlang_1.2.0
|
| 26 |
-
[7] magrittr_2.0.5 DOSE_3.28.2 otel_0.2.0
|
| 27 |
-
[10] e1071_1.7-17 compiler_4.3.1 RSQLite_3.53.2
|
| 28 |
-
[13] systemfonts_1.3.2 png_0.1-9 vctrs_0.7.3
|
| 29 |
-
[16] reshape2_1.4.5 stringr_1.6.0 pkgconfig_2.0.3
|
| 30 |
-
[19] crayon_1.5.3 fastmap_1.2.0 XVector_0.42.0
|
| 31 |
-
[22] ggraph_2.2.2 HDO.db_0.99.1 enrichplot_1.22.0
|
| 32 |
-
[25] purrr_1.2.2 bit_4.6.0 zlibbioc_1.48.2
|
| 33 |
-
[28] cachem_1.1.0 aplot_0.2.9 jsonlite_2.0.0
|
| 34 |
-
[31] GenomeInfoDb_1.38.8 blob_1.3.0 BiocParallel_1.36.0
|
| 35 |
-
[34] tweenr_2.0.3 parallel_4.3.1 R6_2.6.1
|
| 36 |
-
[37] stringi_1.8.7 RColorBrewer_1.1-3 limma_3.58.1
|
| 37 |
-
[40] GOSemSim_2.28.1 Rcpp_1.1.1-1.1 IRanges_2.36.0
|
| 38 |
-
[43] Matrix_1.6-5 splines_4.3.1 igraph_2.3.2
|
| 39 |
-
[46] tidyselect_1.2.1 qvalue_2.34.0 dichromat_2.0-0.1
|
| 40 |
-
[49] viridis_0.6.5 codetools_0.2-20 lattice_0.22-9
|
| 41 |
-
[52] tibble_3.3.1 plyr_1.8.9 treeio_1.26.0
|
| 42 |
-
[55] Biobase_2.62.0 withr_3.0.2 KEGGREST_1.42.0
|
| 43 |
-
[58] S7_0.2.2 survival_3.8-6 gridGraphics_0.5-1
|
| 44 |
-
[61] proxy_0.4-29 scatterpie_0.2.6 polyclip_1.10-7
|
| 45 |
-
[64] Biostrings_2.70.3 pillar_1.11.1 ggtree_3.10.1
|
| 46 |
-
[67] stats4_4.3.1 clusterProfiler_4.10.1 ggfun_0.2.0
|
| 47 |
-
[70] generics_0.1.4 RCurl_1.98-1.19 S4Vectors_0.40.2
|
| 48 |
-
[73] ggplot2_4.0.3 scales_1.4.0 tidytree_0.4.7
|
| 49 |
-
[76] class_7.3-23 glue_1.8.1 gdtools_0.5.1
|
| 50 |
-
[79] lazyeval_0.2.3 tools_4.3.1 data.table_1.18.4
|
| 51 |
-
[82] fgsea_1.28.0 ggiraph_0.9.6 fs_2.1.0
|
| 52 |
-
[85] graphlayouts_1.2.3 fastmatch_1.1-8 tidygraph_1.3.1
|
| 53 |
-
[88] cowplot_1.2.0 grid_4.3.1 tidyr_1.3.2
|
| 54 |
-
[91] ape_5.8-1 AnnotationDbi_1.64.1 colorspace_2.1-2
|
| 55 |
-
[94] nlme_3.1-169 GenomeInfoDbData_1.2.11 patchwork_1.3.2
|
| 56 |
-
[97] ggforce_0.5.0 cli_3.6.6 rappdirs_0.3.4
|
| 57 |
-
[100] fontBitstreamVera_0.1.1 viridisLite_0.4.3 dplyr_1.1.4
|
| 58 |
-
[103] gtable_0.3.6 yulab.utils_0.2.4 fontquiver_0.2.1
|
| 59 |
-
[106] digest_0.6.39 BiocGenerics_0.48.1 ggrepel_0.9.8
|
| 60 |
-
[109] ggplotify_0.1.3 htmlwidgets_1.6.4 org.Hs.eg.db_3.18.0
|
| 61 |
-
[112] farver_2.1.2 htmltools_0.5.9 memoise_2.0.1
|
| 62 |
-
[115] lifecycle_1.0.5 httr_1.4.8 GO.db_3.18.0
|
| 63 |
-
[118] statmod_1.5.2 fontLiberation_0.1.0 bit64_4.8.2
|
| 64 |
-
[121] MASS_7.3-60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bulk/GSE17674/source_manifest.csv
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
"accession","role","file","url","downloaded_at","bytes","sha256","notes"
|
| 2 |
-
"GSE17674","expression_matrix","E-GEOD-17674.processed.1.zip","https://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/GEOD/E-GEOD-17674/E-GEOD-17674.processed.1.zip","2026-11-02",28800465,"f2596f234ef62b0c13ff3a6471d9af61f261542d3aa3bc7fba72ae259dbf4199",""
|
| 3 |
-
"GSE17674","sample_table","E-GEOD-17674.sdrf.txt","https://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/GEOD/E-GEOD-17674/E-GEOD-17674.sdrf.txt","2026-11-02",57585,"72de6ae0ceb26f2866871eb1b7ff11799475a224faaa6199c73c6adcd885774c",""
|
| 4 |
-
"GSE17674","sample_table","samples.csv","https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE17674","2026-11-02",14564,"ec41750c2d68bc6f9c915e6ae3e731ae976fba643e727cde22956bc97c7dd4e1",""
|
| 5 |
-
"GSE17674","expression_matrix","GSE17674_expression.csv.gz","built locally from E-GEOD-17674.processed.1.zip: RMA-expression sample tables mapped to gene symbols with GPL96 annotation, duplicate symbols averaged","2026-11-02",1993217,"2e37e4a870172a93cc385b97e98f40082efdb99a70abd07d267ecc5024231bc8",""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|