Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

information content calculation discordance #27

Open
8 tasks
ieiwk opened this issue Feb 12, 2019 · 0 comments
Open
8 tasks

information content calculation discordance #27

ieiwk opened this issue Feb 12, 2019 · 0 comments

Comments

@ieiwk
Copy link

ieiwk commented Feb 12, 2019

Prerequisites

  • Have you read Feedback and follow the guide?
    • make sure your are using the latest release version
    • read the documents
    • google your quesion/issue

Describe you issue

  • Make a reproducible example (e.g. 1)
  • your code should contain comments to describe the problem (e.g. what expected and actually happened?)

Ask in right place

  • for bugs or feature requests, post here (github issue)
  • for questions, please post to Bioconductor or Biostars with tag DOSE

To use the latest DO database, I tried to update the .DOSEEnv[[ 'DOIC']]. I first tried to see if I can correctly calculate ICs by myself, using relations among terms given by .DOSEEnv[[ 'dotbl']]. However I found that my calculations differed from attr( .DOSEEnv[[ 'DOIC']], 'IC'). I did some digging, and finally it seemed that attr( .DOSEEnv[[ 'DOIC']], 'IC') was computed by the function computeIC. I noticed that in computeIC p = cnt / sum( docount). But if I understood correctly, should the sum( docount) be length( docount) if one is to calculate IC? This question also goes for calculations of cnt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant