Skip to content

Commit 0383de6

Browse files
committed
chore: fix typos
1 parent 07ffb7a commit 0383de6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ contrasts:
197197
make_contrasts_str: "conditiontreated"
198198
```
199199

200-
The necessary fields in order are::
200+
The necessary fields in order are:
201201

202202
- `formula` - A string representation of the model formula. It is used to build the design matrix.
203203
- `make_contrasts_str` - An explicit literal contrast string (e.g., "treatmenthND6 - treatmentmCherry") that is passed directly to [`limma::makeContrasts()`](https://rdrr.io/bioc/limma/man/makeContrasts.html) in `VARIANCEPARTITION_DREAM`. The parameter names must be syntactically valid variable names in R (see [`make.names`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/make.names.html)). This field provides full control for complex designs. Requires `formula`.

workflows/differentialabundance.nf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ workflow DIFFERENTIALABUNDANCE {
187187
.map { entry ->
188188
def yaml_file = entry[1]
189189
def yaml_data = new groovy.yaml.YamlSlurper().parse(yaml_file)
190-
yaml_data.contrasts.collect { constrast ->
191-
if (constrast.containsKey('formula')) {
192-
tuple('id': constrast.id)
190+
yaml_data.contrasts.collect { contrast ->
191+
if (contrast.containsKey('formula')) {
192+
tuple('id': contrast.id)
193193
}
194-
else if (constrast.containsKey('comparison')) {
195-
tuple('id': constrast.comparison[0])
194+
else if (contrast.containsKey('comparison')) {
195+
tuple('id': contrast.comparison[0])
196196
}
197197
}
198198
}

0 commit comments

Comments
 (0)