load_dataset_and_model: Load dataset and project onto a predefined model

View source: R/load_dataset_and_model.R

load_dataset_and_modelR Documentation

Load dataset and project onto a predefined model

Description

Load dataset and project onto a predefined model

Usage

load_dataset_and_model(model_fn, sample_fns, min_umis = 250,
  model_version_name = "", max_umis = 25000, excluded_clusters = NA,
  ds_numis = NA, genes = NULL, max_ncells_per_sample = NA,
  lightweight = F, cell_list = NULL, max_noise_fraction = 0.2)

Arguments

model_fn

model file-name

sample_fns

vector containing compiled sample file-names

min_umis

lower UMI-count threshold

model_version_name

model version name

max_umis

upper UMI-count threshold

excluded_clusters

[optional] vector with clusters to exclude. Cells associated with these clusters are not loaded.

ds_numis

[optional] vector containing UMI counts to down-sample the dataset to.

genes

[optional ] vector specifying genes which will be included in the analysis. If NULL (default) all genes are included. In cases of inconsistencies between the gene lists included in different samples this vector should provide the desired common gene list.

max_ncells_per_sample

[optional ] Integer. limits the number of cells randomly selected and loaded per sample. If NA (default) all cells are loaded

lightweight

[optional ] Boolean. If true, unnecessary obectes are not loaded. (F is the default)

max_noise_fraction

[optional ] numeric maximum value for the alpha parameter. (0.20 in default)

Value

LDM object


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