Skip to content

Commit

Permalink
added citation
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorRDB committed Mar 31, 2021
1 parent ebeda57 commit 6c4e6b0
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 14 deletions.
4 changes: 1 addition & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Package: condiments
Type: Package
Title: Differential Topology, Progression and Differentiation
Version: 0.99.12
Date: 2020-09-17
Authors@R: c(person("Hector", "Roux de Bezieux", role = c("aut", "cre"),
email = "hector.rouxdebezieux@berkeley.edu",
comment = c(ORCID = "0000-0002-1489-8339")),
Expand All @@ -11,9 +10,8 @@ Authors@R: c(person("Hector", "Roux de Bezieux", role = c("aut", "cre"),
Description: This package encapsulate many functions to conduct a differential topology analysis. It focuses on analyzing an 'omic dataset with multiple conditions. While the package is mostly geared toward scRNASeq, it does not place any restriction on the actual input format.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: false
URL: https://hectorrdb.github.io/condiments/index.html
Depends: R (>= 4.1)
Depends: R (>= 4.0)
VignetteBuilder: knitr
biocViews:
RNASeq,
Expand Down
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Package Creation
Changes in version 0.99.0 (2021-03-01)
+ Submitted to Bioconductor
8 changes: 4 additions & 4 deletions R/differentiationTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ setMethod(f = "differentiationTest",
}
if (dplyr::n_distinct(conditions) > 2 && method != "Classifier") {
method <- "Classifier"
warning(paste0("If more than two conditions are present, ",
"only the Classifier method is possible."))
warning("If more than two conditions are present, ",
"only the Classifier method is possible.")
}
res <- .differentiationTest(ws = cellWeights, conditions = conditions,
global = global, pairwise = pairwise,
Expand Down Expand Up @@ -171,8 +171,8 @@ setMethod(f = "differentiationTest",
}
if (dplyr::n_distinct(conditions) > 2 && method != "Classifier") {
method <- "Classifier"
warning(paste0("If more than two conditions are present, ",
"only the Classifier method is possible."))
warning("If more than two conditions are present, ",
"only the Classifier method is possible.")
}
if (slingParams(cellWeights)$reweight | slingParams(cellWeights)$reassign) {
ws <- slingshot::slingCurveWeights(cellWeights, as.probs = TRUE)
Expand Down
8 changes: 4 additions & 4 deletions R/progressionTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ setMethod(f = "progressionTest",
stop("Method must be one of KS, Classifier, mmd or permutation")
}
if (n_distinct(conditions) > 2 && method != "Classifier") {
warning(paste0("Changing to method classifier since more than ",
"two conditions are present."))
warning("Changing to method classifier since more than ",
"two conditions are present.")
method <- "Classifier"
}
res <- .progressionTest(pst = pseudotime, ws = cellWeights,
Expand All @@ -229,8 +229,8 @@ setMethod(f = "progressionTest",
stop("Method must be one of KS, Classifier, mmd or permutation")
}
if (n_distinct(conditions) > 2 && method != "Classifier") {
warning(paste0("Changing to method classifier since more than ",
"two conditions are present."))
warning("Changing to method classifier since more than ",
"two conditions are present.")
method <- "Classifier"
}
pst <- slingshot::slingPseudotime(pseudotime, na = FALSE)
Expand Down
4 changes: 2 additions & 2 deletions R/topologyTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ setMethod(f = "topologyTest",
args_wass = list(),
nmax = nrow(slingshot::slingPseudotime(sds))){
if (n_distinct(conditions) > 2 && methods != "Classifier") {
warning(paste0("Changing to methods `classifier` since more than ",
"two conditions are present."))
warning("Changing to methods `classifier` since more than ",
"two conditions are present.")
methods <- "Classifier"
}
res <- .topologyTest(sds = sds,
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,21 @@

## Installation

You can install the `condiments` from the devel branch of [bioconductor](https://www.bioconductor.org/packages/devel/bioc/html/condiments.html) using

```r
if(!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("tradeSeq")
```

To install the development version in `R`, run

```r
if(!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("HectorRDB/condiments")
```

Expand Down
16 changes: 16 additions & 0 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
citHeader("To cite Dune in publications use:")

citEntry(
entry = "Article",
title = "Trajectory inference across multiple conditions with condiments: differential topology, progression, differentiation, and expression",
author = "Hector Roux de Bezieux and Koen Van den Berge and Kelly Street and Sandrine Dudoit",
year = "2021",
doi = "10.1101/2021.03.09.433671",
publisher = "Cold Spring Harbor Laboratory",
URL = "https://www.biorxiv.org/content/10.1101/2021.03.09.433671v1",
eprint = "https://www.biorxiv.org/content/10.1101/2021.03.09.433671v1.full.pdf",
journal = "bioRxiv",
textVersion = paste(

)
)

0 comments on commit 6c4e6b0

Please sign in to comment.