Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
saketkc committed Sep 18, 2023
1 parent 21624fb commit 3a351c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: sctransform
Type: Package
Title: Variance Stabilizing Transformations for Single Cell UMI Data
Version: 0.3.5.9006
Date: 2023-05-27
Version: 0.3.5.9007
Date: 2023-09-18
Authors@R: c(
person(given = "Christoph", family = "Hafemeister", email = "[email protected]", role = "aut", comment = c(ORCID = "0000-0001-6365-8254")),
person(given = "Saket", family = "Choudhary", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5202-7633")),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ All notable changes will be documented in this file.
- Changed `get_nz_median2` to support `genes` argument; thanks @boomanaiden154 and @ScreachingFire. [#155](https://github.com/satijalab/sctransform/pull/155)
- Replaced `get_nz_median` with faster alternative `get_nz_median2` across all calls
- Removed `get_nz_median`
- Updated `make_cell_attr` to be flexible for named vectors; thanks @moi-taga [#171](https://github.com/satijalab/sctransform/pull/171)

## [0.3.5] - 2022-09-21

Expand Down
3 changes: 2 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ get_model_var <- function(vst_out, cell_attr = vst_out$cell_attr, use_nonreg = F
#' Get median of non zero UMIs from a count matrix
#'
#' @param umi Count matrix
#'
#' @param genes A vector of genes to consider for calculating
#' the median. Default is NULL which uses all genes.
#' @return A numeric value representing the median of non-zero entries from the UMI matrix
get_nz_median2 <- function(umi, genes = NULL){
if (is.null(genes)) {
Expand Down
3 changes: 3 additions & 0 deletions man/get_nz_median2.Rd

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

0 comments on commit 3a351c9

Please sign in to comment.