Skip to content

Commit

Permalink
Merge pull request #829 from AlexsLemonade/sjspielman/harmony-word
Browse files Browse the repository at this point in the history
Missing an "a"
  • Loading branch information
sjspielman authored Dec 6, 2024
2 parents 06967b5 + da72b1a commit 18e3692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scRNA-seq-advanced/02-dataset_integration.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ Like `fastMNN`, `harmony` performs integration on a merged PCA matrix.
However, unlike `fastMNN`, `harmony` does not "back-calculate" corrected expression from the corrected PCA matrix and it only returns the corrected PCA matrix itself.
For input, `harmony` needs a couple pieces of information:

- First, `harmony` takes batch-weighted PCA matrix directly to perform integration.
Since we already calculated a batch-weighted PCA matrix (our `merged_PCA` reduced dimension), we'll provide this information directly.
- First, `harmony` takes a batch-weighted PCA matrix to perform integration.
We already calculated a batch-weighted PCA matrix (our `merged_PCA` reduced dimension), we'll provide this as the the input.
- Second, we need to tell `harmony` about the covariates to use - `sample` and `patient`.
To do this, we provide two arguments:
- `meta_data`, a data frame that contains covariates across samples.
Expand Down

0 comments on commit 18e3692

Please sign in to comment.