juanbot / CoExpNets

Co-expression network management based on WGCNA + k-means
Apache License 2.0
16 stars 8 forks source link

Adding extra data in 'reportOnGenesMultipleTissue' #3

Closed SoniaRuiz closed 5 years ago

SoniaRuiz commented 5 years ago

At this moment, the function 'reportOnGenesMultipleTissue' returns a set of rows with the following structure:

{ "tissue": "notad", "gene": "CCDC92", "ensgene": "ENSG00000119242", "mm": 0.3468, "module": "floralwhite", "size": 411, "go_report": "mRNA metabolic process GO:0016071 (p-value 0.00551)", "pd_genes": "void", "preservation": "void", "cell_type_pred": " Thelpercells-External (p-value 0.04501). ", "p_val_mods": 0.259, "bonfpval": 1, "_row": "CCDC92" }

Would be possible to add, into this structure, the field 'category'? For example:

{ "category":"CoExpROSMAP", "tissue": "notad", "gene": "CCDC92", "ensgene": "ENSG00000119242", "mm": 0.3468, "module": "floralwhite", "size": 411, "go_report": "mRNA metabolic process GO:0016071 (p-value 0.00551)", "pd_genes": "void", "preservation": "void", "cell_type_pred": " Thelpercells-External (p-value 0.04501). ", "p_val_mods": 0.259, "bonfpval": 1, "_row": "CCDC92" }

juanbot commented 5 years ago

This should be ready now

SoniaRuiz commented 5 years ago

This issue has been solved.