R/RcppExports.R

Defines functions vector_clip FastSparseRowScale FastRowScale LogNorm LogNormSparse CosineNorm CosineNormSparse

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

CosineNormSparse <- function(data, display_progress = TRUE) {
    .Call('_FuseNet_CosineNormSparse', PACKAGE = 'FuseNet', data, display_progress)
}

CosineNorm <- function(data, display_progress = TRUE) {
    .Call('_FuseNet_CosineNorm', PACKAGE = 'FuseNet', data, display_progress)
}

LogNormSparse <- function(data, scale_factor, display_progress = TRUE) {
    .Call('_FuseNet_LogNormSparse', PACKAGE = 'FuseNet', data, scale_factor, display_progress)
}

LogNorm <- function(data, scale_factor, display_progress = TRUE) {
    .Call('_FuseNet_LogNorm', PACKAGE = 'FuseNet', data, scale_factor, display_progress)
}

FastRowScale <- function(mat, scale = TRUE, center = TRUE, scale_max = 10, display_progress = TRUE) {
    .Call('_FuseNet_FastRowScale', PACKAGE = 'FuseNet', mat, scale, center, scale_max, display_progress)
}

FastSparseRowScale <- function(mat, scale = TRUE, center = TRUE, scale_max = 10, display_progress = TRUE) {
    .Call('_FuseNet_FastSparseRowScale', PACKAGE = 'FuseNet', mat, scale, center, scale_max, display_progress)
}

vector_clip <- function(x, min, max) {
    .Call('_FuseNet_vector_clip', PACKAGE = 'FuseNet', x, min, max)
}
stevexniu/FuseNet documentation built on May 16, 2022, 12:23 p.m.