diff --git a/DESCRIPTION b/DESCRIPTION index 93ec3e26..ac725b3b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: celda Title: CEllular Latent Dirichlet Allocation -Version: 1.13.0 +Version: 1.12.0 Authors@R: c(person("Joshua", "Campbell", email = "camp@bu.edu", role = c("aut", "cre")), person("Shiyi", "Yang", email="syyang@bu.edu", role = c("aut")), diff --git a/NEWS.md b/NEWS.md index fa6c3fe1..8d60c1ec 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,10 @@ +# celda v1.12.0 (2022-04-30) +* Update to match Bioconductor 3.15 release version + +# celda v1.11.1 (2022-03-31) +* Fixes to reports +* Use smoothe splines for perplexity and RPC plots + # celda v1.11.0 (2022-03-31) * Improvments to decontX vignette * Added ability to subsample to speed up perplexity calculations diff --git a/docs/404.html b/docs/404.html index bf7f6777..e44d423c 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@
diff --git a/docs/CONDUCT.html b/docs/CONDUCT.html index 04960c1e..1b4c7f0d 100644 --- a/docs/CONDUCT.html +++ b/docs/CONDUCT.html @@ -71,7 +71,7 @@ diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 3f4bb1dd..297cd487 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -71,7 +71,7 @@ diff --git a/docs/articles/articles/celda_pbmc3k.html b/docs/articles/articles/celda_pbmc3k.html index 61fdd5af..caf25edb 100644 --- a/docs/articles/articles/celda_pbmc3k.html +++ b/docs/articles/articles/celda_pbmc3k.html @@ -31,7 +31,7 @@ @@ -98,7 +98,7 @@vignettes/articles/celda_pbmc3k.Rmd
celda_pbmc3k.Rmd
The perplexity alone often does not show a clear elbow or “leveling off”. However, the rate of perplexity change (RPC) can be more informative to determine when adding new modules does not add much additional information Zhao et al., 2015). An RPC closer to zero indicates that the addition of new modules or cell clusters is not substantially decreasing the perplexity. The RPC of models can be visualized using function plotRPC
:
-plotRPC(moduleSplit, altExpName = altExpName, sep = 10, n = 30)
plotRPC(moduleSplit, altExpName = altExpName)
In this case, we will choose an L
of 80 as the RPC curve tends to level off at this point:
@@ -28248,7 +28248,7 @@+
-# Plot differentially expressed genes that pass additional thresholds 'minClustExprPerc' and 'maxCtrlExprPerc' plotMarkerDiffExp(sce, topN = 5, log2fcThreshold = 0, rowLabel = TRUE, fdrThreshold = 0.05, minClustExprPerc = 0.6, maxCtrlExprPerc = 0.4, minMeanExpr = 0)
Other parameters such as
minClustExprPerc
(the minimum number of cells expressing the marker gene in the cluster) andmaxCtrlExprPerc
(the maximum number of cells expression the marker gene in other clusters) can be used to control how specific each marker gene is to each cell populations. Similarly, adding a log2 fold-change cutoff (e.g. 1) can select for markers that are more strongly up-regulated in a cell population.
vignettes/articles/decontX_pbmc4k.Rmd
decontX_pbmc4k.Rmd
We will utilize the 10X PBMC 4K dataset as an example in this vignette. This data can be easily retrieved from the package TENxPBMCData. Make sure the the column names are set before running decontX.
-# Install TENxPBMCData if is it not already
-if (!requireNamespace("TENxPBMCData", quietly = TRUE)) {
- if (!requireNamespace("BiocManager", quietly = TRUE)) {
- install.packages("BiocManager")
- }
- BiocManager::install("TENxPBMCData")
-}
-
-# Load PBMC data
+# Load PBMC data
library(TENxPBMCData)
sce <- TENxPBMCData("pbmc4k")
colnames(sce) <- paste(sce$Sample, sce$Barcode, sep = "_")
-rownames(sce) <- rowData(sce)$Symbol_TENx
vignettes/celda.Rmd
celda.Rmd
vignettes/decontX.Rmd
decontX.Rmd
We will utilize the 10X PBMC 4K dataset as an example in this vignette. This data can be easily retrieved from the package TENxPBMCData. Make sure the the column names are set before running decontX.
-# Install TENxPBMCData if is it not already
-if (!requireNamespace("TENxPBMCData", quietly = TRUE)) {
- if (!requireNamespace("BiocManager", quietly = TRUE)) {
- install.packages("BiocManager")
- }
- BiocManager::install("TENxPBMCData")
-}
-
-# Load PBMC data
+# Load PBMC data
library(TENxPBMCData)
sce <- TENxPBMCData("pbmc4k")
colnames(sce) <- paste(sce$Sample, sce$Barcode, sep = "_")
-rownames(sce) <- rowData(sce)$Symbol_TENx
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("celda")
-To install the development version (R >= 3.6) of celda from GitHub using devtools
:
The latest stable version of celda can be installed from GitHub using devtools
:
library(devtools)
install_github("campbio/celda")
+The development version of celda can also be installed from GitHub using devtools
:
library(devtools)
+install_github("campbio/celda@devel")
NOTE For MAC OSX users, devtools::install_github()
requires installation of libgit2. This can be installed via homebrew:
brew install libgit2
Also, if you receive installation errors when Rcpp is being installed and compiled, try following the steps outlined here to solve the issue:
diff --git a/docs/news/index.html b/docs/news/index.html index 5ce5c67a..76e32ba5 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -71,7 +71,7 @@ @@ -138,14 +138,36 @@NEWS.md
- +#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>
plotGridSearchPerplexity(x, altExpName = "featureSubset", sep = 1, alpha = 0.5) +plotGridSearchPerplexity(x, altExpName = "featureSubset", sep = 5, alpha = 0.5) # S4 method for SingleCellExperiment -plotGridSearchPerplexity(x, altExpName = "featureSubset", sep = 1, alpha = 0.5) +plotGridSearchPerplexity(x, altExpName = "featureSubset", sep = 5, alpha = 0.5) # S4 method for celdaList -plotGridSearchPerplexity(x, sep = 1, alpha = 0.5)+plotGridSearchPerplexity(x, sep = 5, alpha = 0.5)
sep | Numeric. Breaks in the x axis of the resulting plot. |
- |
---|---|---|
n | -Integer. Width of the rolling window. Default 10. |
- |
alpha | Numeric. Passed to geom_jitter. Opacity of the points. @@ -192,19 +186,19 @@ Arg
| Boolean. If |
-
doSubsampling | -Boolean. If |
|
numResample | Integer. The number of times to resample the counts matrix
-for evaluating perplexity if |
- |
numSubsample | -Integer. The number of cells to sample from the
-the counts matrix if |
|
logfile | @@ -390,36 +373,36 @@Boolean. If |
- |
doSubsampling | -Boolean. If |
|
numResample | Integer. The number of times to resample the counts matrix
-for evaluating perplexity if |
- |
numSubsample | -Integer. The number of cells to sample from the
-the counts matrix if |
|
verbose | @@ -377,7 +360,7 @@Boolean. If |
- |
doSubsampling | -Boolean. If |
|
numResample | Integer. The number of times to resample the counts matrix
-for evaluating perplexity if |
- |
numSubsample | -Integer. The number of cells to sample from the
-the counts matrix if |
|
seed | diff --git a/docs/reference/retrieveFeatureIndex.html b/docs/reference/retrieveFeatureIndex.html index 96e55334..825532df 100644 --- a/docs/reference/retrieveFeatureIndex.html +++ b/docs/reference/retrieveFeatureIndex.html @@ -76,7 +76,7 @@ diff --git a/docs/reference/runParams.html b/docs/reference/runParams.html index b1a5471f..1a97c35f 100644 --- a/docs/reference/runParams.html +++ b/docs/reference/runParams.html @@ -75,7 +75,7 @@ diff --git a/docs/reference/sampleCells.html b/docs/reference/sampleCells.html index 9d80141b..aa7194f4 100644 --- a/docs/reference/sampleCells.html +++ b/docs/reference/sampleCells.html @@ -72,7 +72,7 @@ diff --git a/docs/reference/sampleLabel.html b/docs/reference/sampleLabel.html index c68f0c9f..3da498b3 100644 --- a/docs/reference/sampleLabel.html +++ b/docs/reference/sampleLabel.html @@ -74,7 +74,7 @@ diff --git a/docs/reference/sceCeldaC.html b/docs/reference/sceCeldaC.html index 1260a15d..ccbe1028 100644 --- a/docs/reference/sceCeldaC.html +++ b/docs/reference/sceCeldaC.html @@ -74,7 +74,7 @@ @@ -162,7 +162,7 @@