Skip to content

Commit

Permalink
error fix conflicts_prefer(GenomicRanges::setdiff)
Browse files Browse the repository at this point in the history
  • Loading branch information
3mmaRand committed Oct 2, 2024
1 parent e736668 commit 32a645e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion transcriptomics/week-4/workshop.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ use a particular function.
For example, to always use the **`dplyr`** version of `filter()` by default you can add this to the top of your script:

```{r}
conflict_prefer("filter", "dplyr")
conflicts_prefer(dplyr::filter)
```

# Import
Expand Down Expand Up @@ -233,6 +233,12 @@ write_csv(s30_fgf_only, "results/s30_fgf_only.csv")
#---CODING ANSWER---
library(DESeq2)
```
We will also want to ensure that we are using the `setdiff()` function from the `GenomicRanges` package.

```{r}
conflicts_prefer(GenomicRanges::setdiff)
```


A DEseqDataSet object is a custom data type that is used by
**`DESeq2`**. Custom data types are common in the Bioconductor[^1]
Expand Down
4 changes: 2 additions & 2 deletions transcriptomics/week-5/workshop.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ I recommend you set the **`dplyr`** versions of `filter()` and `select()` to use
🎬 Use the **`dplyr`** version of `filter()` by default:

```{r}
conflict_prefer("filter", "dplyr")
conflict_prefer("select", "dplyr")
conflicts_prefer(dplyr::filter)
conflicts_prefer(dplyr::select)
```


Expand Down

0 comments on commit 32a645e

Please sign in to comment.