Skip to content

Commit 47efc3a

Browse files
authored
Merge pull request #4 from cicilapetitesorciere/patch-1
Fixed typo
2 parents 3731a15 + 461c48b commit 47efc3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inst/book/sce-class.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ To access the count data we just supplied, we can do any one of the following:
105105
mat2 <- counts(sce)
106106
```
107107

108-
**NOTE:** For exported S4 classes, it is rarely a good idea to directly access the slots with the `@` oeprator.
108+
**NOTE:** For exported S4 classes, it is rarely a good idea to directly access the slots with the `@` operator.
109109
This is considered bad practice as the class developers are free to alter the internal structure of the class, at which point any code using `@` may no longer work.
110110
Rather, it is best to use the provided getter functions like `assay()` and `counts()` to extract data from the object.
111111
Similarly, setting slots should be done via the provided setter functions, which are discussed in the next section.

0 commit comments

Comments
 (0)