load_scDissector_data: preload scRNA sample and project onto a model

View source: R/loading_samples_and_running_scDissector.R

load_scDissector_dataR Documentation

preload scRNA sample and project onto a model

Description

preload scRNA sample and project onto a model

Usage

load_scDissector_data(clustering_data_path, model_name, sample_names,
  min_umis = 250, max_umis = 25000, ds_numis = NA,
  max_ncells_per_sample = NA, genes = NULL)

Arguments

clustering_data_path

path to the folder that cntains the compiled samples, model versions and metadata

model_name

model name as defined in clustering_data_path/model_versions.csv

sample_names

vector containing sample names as defined in clustering_data_path/samples.csv

Value

ldm object

Examples

# ldm=load_ldm(clustering_data_path="path_example/clustering_data_exaple",model_name="model_name_example",sample_names=c("sample1_example","sample2_example","sample3_example"))
# ldm can be stored on disk (optional):
# save(ldm,file="ldm_path_example")
# If saved, in the next time you can load the ldm file instead of regenrating it
# load(file="ldm_path_example")
# run scDissector
# run_scDissector(preloaded_data = ldm,clustering_data_path =clustering_data_path)

effiken/scDissector documentation built on July 28, 2023, 6:08 a.m.