Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueda committed Nov 6, 2024
1 parent fe08b91 commit fe67888
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ pheno-ranker: A script that performs semantic similarity in PXF/BFF data structu
-config <file> YAML config file to modify default parameters [default: share/conf/config.yaml]
-cytoscape-json [file] Serializes the pairwise comparison matrix as an undirected graph in JSON, compatible with Cytoscape [default: graph.json]
-e, --export [path/basename] Export miscellaneous JSON files. If not specified, default filenames are used [default: export.*]
-exclude-terms <terms> Exclude BFF/PXF terms (e.g., --exclude-terms sex, id)
-exclude-terms <terms> Exclude BFF/PXF terms (e.g., --exclude-terms sex, id) or CSV column names in JSON-derived from CSV
-graph-stats [file] Generates a text file with key graph metrics, for use with <-cytoscape-json> [default: graph_stats.txt]
-include-hpo-ascendants Include ascendant terms from the Human Phenotype Ontology (HPO)
-include-terms <terms> Include BFF/PXF terms (e.g., --include-terms diseases)
-include-terms <terms> Include BFF/PXF terms (e.g., --include-terms diseases) or CSV column names in JSON-derived from CSV
-max-number-var <number> Maximum variables for binary string [default: 10000]
-max-out <number> Print only N comparisons [default: 50]
-o, --out-file <file> Output file path [default: -r matrix.txt | -t rank.txt]
Expand Down
4 changes: 2 additions & 2 deletions bin/pheno-ranker
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ pheno-ranker: A script that performs semantic similarity in PXF/BFF data structu
-config <file> YAML config file to modify default parameters [default: share/conf/config.yaml]
-cytoscape-json [file] Serializes the pairwise comparison matrix as an undirected graph in JSON, compatible with Cytoscape [default: graph.json]
-e, --export [path/basename] Export miscellaneous JSON files. If not specified, default filenames are used [default: export.*]
-exclude-terms <terms> Exclude BFF/PXF terms (e.g., --exclude-terms sex, id)
-exclude-terms <terms> Exclude BFF/PXF terms (e.g., --exclude-terms sex, id) or CSV column names in JSON-derived from CSV
-graph-stats [file] Generates a text file with key graph metrics, for use with <-cytoscape-json> [default: graph_stats.txt]
-include-hpo-ascendants Include ascendant terms from the Human Phenotype Ontology (HPO)
-include-terms <terms> Include BFF/PXF terms (e.g., --include-terms diseases)
-include-terms <terms> Include BFF/PXF terms (e.g., --include-terms diseases) or CSV column names in JSON-derived from CSV
-max-number-var <number> Maximum variables for binary string [default: 10000]
-max-out <number> Print only N comparisons [default: 50]
-o, --out-file <file> Output file path [default: -r matrix.txt | -t rank.txt]
Expand Down
8 changes: 7 additions & 1 deletion docs/csv-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@
```bash
pheno-ranker -r example.json --config example_config.yaml
```

If you want to exclude or include columns (i.e., terms) you can use the corresponding flag:

```bash
pheno-ranker -r example.json --exclude-terms Id Foo --config example_config.yaml
```

Remember to always use `--config example_config.yaml`.
Good luck!
Expand Down

0 comments on commit fe67888

Please sign in to comment.