---
title: "22-barnacle-rank-tests"
output: html_document
date: "2025-10-26"
---


klone 

```{bash}
/mmfs1/home/sr320/.local/bin/uv
```



```{bash}
/mmfs1/home/sr320/.local/bin/uv run python ../scripts/14.1-barnacle/build_tensor_and_run.py \
  --input-file ../output/14-pca-orthologs/vst_counts_matrix.csv \
  --output-dir ../output/22-barnacle \
  --rank 5 --lambda-gene 0.1 --lambda-sample 0.1 --lambda-time 0.05 \
  --max-iter 1000 --tol 1e-5 --seed 5
```




```{bash}
# Run the full convergence testing pipeline
/Users/sr320/.local/bin/uv run python ../scripts/14.1-barnacle/convergence_test.py \
  --input-file ../output/14-pca-orthologs/vst_counts_matrix.csv \
  --output-dir ../output/21-barnacle-convergence-test \
  --results-file convergence_test_results.csv
```

