R/bdm_glbl.R

# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# The bigMap Package for R.

# Copyright (c) 2018, Joan Garriga <jgarriga@ceab.csic.es>, Frederic Bartumeus <fbartu@ceab.csic.es> (Blanes Centre for Advanced Studies, CEAB-CSIC).

# bigMap is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

# bigMap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

# You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses.
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


# cluster configuration
varNames <- c('threads', 'thread.rank', 'thread.hldr')

# shared data
varNames <- c(varNames, 'Xbm', 'Xbf.dsc', 'cl.Xdsc')

# shared Betas
varNames <- c(varNames, 'Bbm', 'Bbf.dsc', 'cl.Bdsc')

# shared embedding
varNames <- c(varNames, 'zY', 'Ybm')

# shared row indexes
varNames <- c(varNames, 'Ibm')

# computation of betas
varNames <- c(varNames, 'itr', 'tol', 'ppx')

# t-SNE parameters
varNames <- c(varNames, 'layers', 'iters', 'alpha', 'is.distance', 'info')

# t-SNE best solution control
varNames <- c(varNames, 'e.best', 'mapp.list')

# pakde function
varNames <- c(varNames, 'thread.pakde', 'pakde.grid')

# dMap function
varNames <- c(varNames, 'pakde', 'Y', 'L')


# Global variables declaration

if (getRversion() >= '2.15.1')
    utils::globalVariables(varNames, 'bigMap', add = TRUE)

Try the bigMap package in your browser

Any scripts or data that you put into this service are public.

bigMap documentation built on July 8, 2020, 6:41 p.m.