Description Usage Arguments Value
Map trait name to gene if the trait name shared at least one trait_code with the gene, where trait name to trait_code is specified in map_table and gene to trait_code is specified in silver_table
1 | greedy_map(map_table, silver_table, trait_code)
|
map_table |
a data.frame containing 'trait' as column along with 'phecode' and/or 'HPO' as columns. This table serves as the map between trait name in 'trait' column and trait codes ('phecode', 'HPO', etc). So that it is used to map trait names (in score_table) to trait code (in silver_standard). |
silver_table |
a data.frame where each row pairs trait in phecode, HPO to gene. |
trait_code |
trait code to use for mapping: 'phecode' or 'HPO'. |
a data.frame pairing trait name to gene
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.