Skip to content

Commit 1c67e8c

Browse files
committed
fix: moved from the deprecated to
1 parent 18ed500 commit 1c67e8c

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

NEWS.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# scp 1.19
2+
3+
## scp 1.19.1
4+
5+
- fix: moved from the deprecated `longFormat()` to `longForm()`
6+
- doc: fixed readSingleCellExperiment example (see #94)
7+
- doc: minor documentation recompilation
8+
9+
## scp 1.19.0
10+
11+
- New Bioconductor 3.22 release
12+
13+
# scp 1.18
14+
15+
## scp 1.18.0
16+
17+
- New Bioconductor 3.21 release
18+
119
# scp 1.17
220

321
## scp 1.17.1

vignettes/QFeatures_nutshell.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,16 +343,15 @@ ggplot(data.frame(rd)) +
343343

344344
Combining the metadata and the quantitative data is more challenging
345345
since the risk of data mismatch is increased. The `QFeatures` package
346-
therefore provides th `longFormat` function to transform a `QFeatures`
346+
therefore provides th `longForm` function to transform a `QFeatures`
347347
object in a long `DFrame` table. For instance, we plot the
348348
quantitative data distribution for the first assay according to the
349349
acquisition channel index and colour with respect to the sample type.
350350
Both pieces of information are taken from the `colData`, so we provide
351351
them as `colvars`.
352352

353-
```{r longFormat}
354-
lf <- longFormat(scp1[, , 1],
355-
colvars = c("SampleType", "Channel"))
353+
```{r longForm}
354+
lf <- longForm(scp1[, , 1], colvars = c("SampleType", "Channel"))
356355
ggplot(data.frame(lf)) +
357356
aes(x = Channel,
358357
y = value,

vignettes/scp.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ formatted to a long format table that can easily be plugged in the
976976
## Get the features related to Plastin-2 (P13796)
977977
subsetByFeature(scp, "P13796") |>
978978
## Format the `QFeatures` to a long format table
979-
longFormat(colvars = c("runCol", "SampleType", "quantCols")) |>
979+
longForm(colvars = c("runCol", "SampleType", "quantCols")) |>
980980
data.frame() |>
981981
## This is used to preserve ordering of the samples and assays in ggplot2
982982
mutate(assay = factor(assay, levels = names(scp)),

0 commit comments

Comments
 (0)