# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' Fast matrix multiplication for double x int
#'
#' @param A a double matrix
#' @param B an integer matrix
#' @return An integer matrix representing the product of A and B
eigenMatMultInt <- function(A, B) {
.Call('_celda_eigenMatMultInt', PACKAGE = 'celda', A, B)
}
#' Fast normalization for numeric matrix
#'
#' @param R_counts An integer matrix
#' @param R_alpha A double value to be added to the matrix as a pseudocount
#' @return A numeric matrix where the columns have been normalized to proportions
fastNormProp <- function(R_counts, R_alpha) {
.Call('_celda_fastNormProp', PACKAGE = 'celda', R_counts, R_alpha)
}
#' Fast normalization for numeric matrix
#'
#' @param R_counts An integer matrix
#' @param R_alpha A double value to be added to the matrix as a pseudocount
#' @return A numeric matrix where the columns have been normalized to proportions
fastNormPropLog <- function(R_counts, R_alpha) {
.Call('_celda_fastNormPropLog', PACKAGE = 'celda', R_counts, R_alpha)
}
#' Fast normalization for numeric matrix
#'
#' @param R_counts An integer matrix
#' @param R_alpha A double value to be added to the matrix as a pseudocount
#' @return A numeric matrix where the columns have been normalized to proportions
fastNormPropSqrt <- function(R_counts, R_alpha) {
.Call('_celda_fastNormPropSqrt', PACKAGE = 'celda', R_counts, R_alpha)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.