dimred/densmap

Description

A modification of UMAP that adds an extra cost term in order to preserve information
about the relative local density of the data. It is performed on the same inputs as UMAP.

Type

python_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
modality: [ "rna" ]  
uns_neighbors: [ "neighbors" ]  
output: "$id.$key.output.h5mu"  
obsm_output: [ "X_densmap" ]  
min_dist: [ 0.5 ]  
spread: [ 1 ]  
num_components: [ 2 ]  
max_iter: [ 0 ]  
alpha: [ 1 ]  
gamma: [ 1 ]  
negative_sample_rate: [ 5 ]  
init_pos: [ "spectral" ]  
lambda: [ 2 ]  
fraction: [ 0.3 ]  
var_shift: [ 0.1 ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v3.0.0 \  
  -main-script target/nextflow/dimred/densmap/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input
file
required
--modality
string
--uns_neighbors
string
--obsm_pca
string
required

Outputs

Name
Type & Properties
--output
-o
file
required
output
--obsm_output
string
--output_compression
string

Arguments UMAP

Name
Type & Properties
--min_dist
double
--spread
double
--num_components
integer
--max_iter
integer
--alpha
double
--gamma
double
--negative_sample_rate
integer
--init_pos
string

Arguments densMAP

Name
Type & Properties
--lambda
double
--fraction
double
--var_shift
double

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.