Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zhewa committed May 9, 2019
1 parent f6a2aa7 commit fd95d0e
Show file tree
Hide file tree
Showing 25 changed files with 93 additions and 36 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ importFrom(scales,hue_pal)
importFrom(stringi,stri_list2matrix)
importFrom(umap,umap)
importFrom(umap,umap.defaults)
importFrom(withr,with_seed)
useDynLib(celda,"_colSumByGroup")
useDynLib(celda,"_colSumByGroupChange")
useDynLib(celda,"_colSumByGroup_numeric")
Expand Down
5 changes: 4 additions & 1 deletion R/all_generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -601,9 +601,11 @@ setGeneric("celdaTsne",
#' for umap. Default 20.
#' @param modules Integer vector. Determines which features modules to use for
#' tSNE. If NULL, all modules will be used. Default NULL.
#' @param seed Integer. Passed to \link[withr]{with_seed}. For reproducibility,
#' a default value of 12345 is used. If NULL, no calls to
#' \link[withr]{with_seed} are made.
#' @param umapConfig An object of class "umapConfig" specifying parameters to
#' the UMAP algorithm.
#' @param ... Additional parameters.
#' @return Numeric Matrix of dimension `ncol(counts)` x 2, colums representing
#' the "X" and "Y" coordinates in the data's t-SNE represetation.
#' @examples
Expand All @@ -619,6 +621,7 @@ setGeneric("celdaUmap",
minClusterSize = 100,
initialDims = 20,
modules = NULL,
seed = 12345,
umapConfig = umap::umap.defaults) {
standardGeneric("celdaUmap")
})
Expand Down
2 changes: 0 additions & 2 deletions R/celda_C.R
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ setMethod("factorizeMatrix", signature(celdaMod = "celda_C"),
#' to each cell population in each sample. Default 1.
#' @param beta Numeric. Concentration parameter for Phi. Adds a pseudocount to
#' each feature in each cell population. Default 1.
#' @param ... Additional parameters.
#' @return Numeric. The log likelihood for the given cluster assignments
#' @seealso `celda_C()` for clustering cells
#' @examples
Expand Down Expand Up @@ -1141,7 +1140,6 @@ setMethod("celdaTsne", signature(celdaMod = "celda_C"),
#' \link[withr]{with_seed} are made.
#' @param umapConfig An object of class "umap.config" specifying parameters to
#' the UMAP algorithm.
#' @param ... Additional parameters.
#' @seealso `celda_C()` for clustering cells and `celdaHeatmap()` for displaying
#' expression.
#' @examples
Expand Down
1 change: 0 additions & 1 deletion R/celda_CG.R
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,6 @@ setMethod("factorizeMatrix", signature(celdaMod = "celda_CG"),
#' each feature in each module. Default 1.
#' @param gamma Numeric. Concentration parameter for Eta. Adds a pseudocount to
#' the number of features in each module. Default 1.
#' @param ... Additional parameters.
#' @return The log likelihood for the given cluster assignments
#' @seealso `celda_CG()` for clustering features and cells
#' @examples
Expand Down
1 change: 0 additions & 1 deletion R/celda_G.R
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,6 @@ setMethod("factorizeMatrix", signature(celdaMod = "celda_G"),
#' each feature in each module. Default 1.
#' @param gamma Numeric. Concentration parameter for Eta. Adds a pseudocount to
#' the number of features in each module. Default 1.
#' @param ... Additional parameters.
#' @keywords log likelihood
#' @return The log-likelihood for the given cluster assignments.
#' @seealso `celda_G()` for clustering features
Expand Down
6 changes: 5 additions & 1 deletion man/celdaTsne-celda_C-method.Rd

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

6 changes: 5 additions & 1 deletion man/celdaTsne-celda_CG-method.Rd

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

6 changes: 5 additions & 1 deletion man/celdaTsne-celda_G-method.Rd

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

8 changes: 5 additions & 3 deletions man/celdaUmap-celda_C-method.Rd

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

6 changes: 5 additions & 1 deletion man/celdaUmap-celda_CG-method.Rd

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

6 changes: 5 additions & 1 deletion man/celdaUmap-celda_G-method.Rd

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

9 changes: 6 additions & 3 deletions man/celdaUmap.Rd

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

6 changes: 5 additions & 1 deletion man/celda_C.Rd

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

9 changes: 7 additions & 2 deletions man/celda_CG.Rd

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

10 changes: 7 additions & 3 deletions man/celda_G.Rd

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

7 changes: 6 additions & 1 deletion man/decontX.Rd

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

2 changes: 0 additions & 2 deletions man/logLikelihoodcelda_C.Rd

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

2 changes: 0 additions & 2 deletions man/logLikelihoodcelda_CG.Rd

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

2 changes: 0 additions & 2 deletions man/logLikelihoodcelda_G.Rd

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

4 changes: 2 additions & 2 deletions man/moduleHeatmap.Rd

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

6 changes: 5 additions & 1 deletion man/resamplePerplexity.Rd

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

6 changes: 5 additions & 1 deletion man/simulateCellscelda_C.Rd

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

6 changes: 5 additions & 1 deletion man/simulateCellscelda_CG.Rd

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

Loading

0 comments on commit fd95d0e

Please sign in to comment.