Typo in detailed walkthrough?

Open Beginner friendly
#264 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
r
Domain
documentation

Research direction

Open doc/detailedWalkthrough.html and go to the “Diverse cluster assignment” section. Compare the displayed R expression with the nearby equation (E/O)^theta and verify which operator is intended. Done means correcting the documented line if the equation confirms the reported typo.

Written by the indexing model from the issue text.

Description

In the detailed walk-through, section Diverse cluster assignment, there is this line:

diversity_score <- sweep(E / O, 2, theta, '/') %*% as.matrix(Phi)

According to the equation (E/O)^theta, shouldn't '/' be replaced by '^', like:

diversity_score <- sweep(E / O, 2, theta, '^') %*% as.matrix(Phi)

Or am I missing something?

Dominant language
R
Stars
672
Forks
109
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from immunogenomics/harmony

All issues in immunogenomics/harmony

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.