Skip to content

Instantly share code, notes, and snippets.

@mwoodbri

mwoodbri/test.R Secret

Last active August 6, 2020 12:40
Show Gist options
  • Save mwoodbri/2b4a3f5b7ed0d2589c52d7f58ad746b5 to your computer and use it in GitHub Desktop.
Save mwoodbri/2b4a3f5b7ed0d2589c52d7f58ad746b5 to your computer and use it in GitHub Desktop.
Reticulate
#PBS -l walltime=00:30:00,select=1:ncpus=1:mem=1g
source ~/anaconda3/etc/profile.d/conda.sh
#conda create -n test python=3 umap-learn r-reticulate r-seurat
cd $PBS_O_WORKDIR
conda run -n test Rscript test.R
library(Seurat)
lung_so <- readRDS("pbmc_tutorial.RDS")
lung_so <- RunUMAP(lung_so, dims = 1:10, umap.method = "umap-learn", min.dist = 0.75)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment