{"action":"created","issue":{"url":"https://api.github.com/repos/xu-hong/rphenoscape/issues/2","labels_url":"https://api.github.com/repos/xu-hong/rphenoscape/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/xu-hong/rphenoscape/issues/2/comments","events_url":"https://api.github.com/repos/xu-hong/rphenoscape/issues/2/events","html_url":"https://github.com/xu-hong/rphenoscape/issues/2","id":111624929,"number":2,"title":"Optionally include identifiers for taxa and characters (entities) in return value","user":{"login":"hlapp","id":51458,"avatar_url":"https://avatars.githubusercontent.com/u/51458?v=3","gravatar_id":"","url":"https://api.github.com/users/hlapp","html_url":"https://github.com/hlapp","followers_url":"https://api.github.com/users/hlapp/followers","following_url":"https://api.github.com/users/hlapp/following{/other_user}","gists_url":"https://api.github.com/users/hlapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hlapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlapp/subscriptions","organizations_url":"https://api.github.com/users/hlapp/orgs","repos_url":"https://api.github.com/users/hlapp/repos","events_url":"https://api.github.com/users/hlapp/events{/privacy}","received_events_url":"https://api.github.com/users/hlapp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T14:10:23Z","updated_at":"2015-10-15T14:43:06Z","closed_at":null,"body":"Taxon names can be ambiguous due to synonymies and homonymies. To facilitate integration of returned trait data matrices with other trait data, having also identifiers for taxa rather than just names can help greatly. \r\n\r\nSome characters (entities) in a matrix may be known to be much more similar semantically (or conceptually) than others, but to assess this with metrics the entities need to be tied into an ontology. To enable this, the identifiers for characters (for `pk_ontotrace`, this would be the identifiers of their entities) are required.\r\n\r\nThe identifiers could all be queried for one-by-one from the Phenoscape API, but for larger matrices this may be time consuming, and because the identifiers are (or ought to be, see phenoscape/phenoscape-kb-services#20) already returned in NeXML  from the Phenoscape API, having to query for them again seems unnecessary.\r\n\r\nInitial plan for implementing this is to optionally return a list instead of a data.frame. The list would include the matrix, a table of taxon identifiers, and a table of entity identifiers. @sckott and @cboettig - are there better ways of doing this?\r\n\r\nImplementing this depends on the metadata extraction in RNeXML getting fixed (see ropensci/RNeXML#129), and on character identifier annotations being added to the output NeXML in OntoTrace (see phenoscape/phenoscape-kb-services#20)."},"comment":{"url":"https://api.github.com/repos/xu-hong/rphenoscape/issues/comments/148407621","html_url":"https://github.com/xu-hong/rphenoscape/issues/2#issuecomment-148407621","issue_url":"https://api.github.com/repos/xu-hong/rphenoscape/issues/2","id":148407621,"user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T14:43:06Z","updated_at":"2015-10-15T14:43:06Z","body":"That seems reasonable to me. To be clear what are these taxa identifiers?  I assume they are IDs used internally within Phenoscape?"}}