Skip to content

Commit

Permalink
Fixed fold change equation
Browse files Browse the repository at this point in the history
  • Loading branch information
royfrancis committed Dec 3, 2020
1 parent 9e26620 commit 6337c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lab_dge.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Overdispersion is the reason why RNA-Seq data is better modelled as negative-bin
The log fold change is computed from the corrected count values as such:

```
FC = (corrected counts group B - corrected counts group A) / corrected counts group A
FC = corrected counts group B / corrected counts group A
logFC = log2(FC)
```

Expand Down
2 changes: 1 addition & 1 deletion slide_dge.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ name: dge-test

## Testing

- Log2 fold changes changes are computed after GLM fitting
- Log2 fold changes changes are computed after GLM fitting `FC = counts group B / counts group A`

```{r}
dg <- nbinomWaldTest(d)
Expand Down

0 comments on commit 6337c9d

Please sign in to comment.