Skip to content

Commit

Permalink
update to 0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nfancy committed Feb 18, 2024
1 parent 74d8418 commit 73b9551
Show file tree
Hide file tree
Showing 30 changed files with 4,326 additions and 326 deletions.
10 changes: 3 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ Language: en-US
RoxygenNote: 7.3.1
biocViews:
Imports:
Matrix,
assertthat (>= 0.2.1),
bib2df,
biomaRt (>= 2.54.0),
cli (>= 3.4.1),
cowplot (>= 1.1.1),
DirichletReg (>= 0.7.1),
DoubletFinder (>= 2.0.3),
dplyr (>= 1.1.0),
DoubletFinder (>= 2.0.3),
DropletUtils (>= 1.18.1),
edgeR (>= 3.40.0),
english (>= 1.2.6),
Expand All @@ -69,13 +70,11 @@ Imports:
ggpubr (>= 0.5.0),
ggrepel (>= 0.9.2),
ggridges (>= 0.5.4),
igraph,
kBET (>= 0.99.6),
leaflet (>= 2.1.1),
limma (>= 3.54.0),
magrittr (>= 2.0.3),
MAST (>= 1.24.0),
Matrix,
lme4,
methods,
monocle3 (>= 1.3.1),
Expand Down Expand Up @@ -113,8 +112,5 @@ Remotes:
cole-trapnell-lab/monocle3,
theislab/kBET,
jlmelville/uwot,
hhoeflin/hdf5r,
ropensci/bib2df,
bzhanglab/WebGestaltR,
cran/riverplot
ropensci/bib2df
VignetteBuilder: knitr
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ RUN pip install stratocumulus \


RUN install2.r -e -t source \
Matrix \
argparse \
assertthat \
BiocManager \
Expand Down Expand Up @@ -141,7 +142,6 @@ ids \
knitr \
leaflet \
magrittr \
Matrix \
lme4 \
igraph \
paletteer \
Expand Down Expand Up @@ -179,6 +179,8 @@ tidyverse \
UpSetR \
utils \
vroom \
WebGestaltR \
apcluster \
&& rm -rf /tmp/downloaded_packages

## Install Bioconductor packages
Expand All @@ -194,13 +196,9 @@ ropensci/plotly \
cole-trapnell-lab/monocle3 \
theislab/kBET \
jlmelville/uwot \
NathanSkene/One2One \
hhoeflin/hdf5r \
mojaveazure/loomR \
ropensci/bib2df \
cvarrichio/Matrix.utils \
neurogenomics/scFlowExamples \
bzhanglab/WebGestaltR \
&& rm -rf /tmp/downloaded_packages

## Install scFlow package
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# scFlow 0.7.4

* Updated DoubletFinder version compatibility.
* Minor bug fixes in `map_celltypes_sce()`. The subsampling is now done per cluster to avoid smaller clusters being excluded.
* Change the order of the contrast vs reference names in DEG table.

# scFlow 0.7.2

* QC bug fixes.
Expand Down
2 changes: 1 addition & 1 deletion R/diffexp_models.R
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ perform_de <- function(sce,
by = "ensembl_gene_id")
}

element_name <- paste(fargs$ref_class, ctrast, sep = "_vs_")
element_name <- paste(ctrast, fargs$ref_class, sep = "_vs_")

de_params <- list(
celltype = unique(fargs$sce$cluster_celltype),
Expand Down
6 changes: 3 additions & 3 deletions R/integrate_sce.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#' Produces a reducedDim slot representing common factors across datasets
#'
#' @param sce a SingleCellExperiment object or merged sce objects
#' @param method the integration method to use
#' Set to k=30 as default.
#' @param ... Additional arguments. Such as k Inner dimension of factorization
#' @param method the integration method to use. Set to liger as default.
#' See `liger_preprocess` and `liger_reduce_dims` functions for parameter options.
#' @param ... Additional arguments. Such as k, inner dimension of factorization
#' (number of factors).
#'
#' @return sce SingleCellExperiment object annotated with reducedDims
Expand Down
17 changes: 17 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,23 @@ You can install the development version of scFlow from GitHub with: -
devtools::install_github("neurogenomics/scFlow")
```

## Running RStudio Server with pre-installed scFlow via Docker

If using linux system, open a cmd terminal and run the following commands:

```{r eval = FALSE}
docker pull nfancy/scflow
docker run --rm -d \
-v $HOME:/home/rstudio/home \
-e ROOT=true \
-e PASSWORD=password \
-p 8950:8787 \
nfancy/scflow
```

Then access the RStudio Server on your browser at IP:8950. The default username is `rstudio` and password is `password`. To understand more on how to run docker Rstudio follow the link [here](https://davetang.org/muse/2021/04/24/running-rstudio-server-with-docker/).

## Support

* Ask a question on Stack Overflow with the scFlow tag, we monitor this for new questions.
Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,27 @@ You can install the development version of scFlow from GitHub with: -
devtools::install_github("neurogenomics/scFlow")
```

## Running RStudio Server with pre-installed scFlow via Docker

If using linux system, open a cmd terminal and run the following
commands:

``` r
docker pull nfancy/scflow

docker run --rm -d \
-v $HOME:/home/rstudio/home \
-e ROOT=true \
-e PASSWORD=password \
-p 8950:8787 \
nfancy/scflow
```

Then access the RStudio Server on your browser at IP:8950. The default
username is `rstudio` and password is `password`. To understand more on
how to run docker Rstudio follow the link
[here](https://davetang.org/muse/2021/04/24/running-rstudio-server-with-docker/).

## Support

- Ask a question on Stack Overflow with the scFlow tag, we monitor
Expand Down
461 changes: 182 additions & 279 deletions docs/articles/scFlow.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 73b9551

Please sign in to comment.