simData: Simulate data according to the scDist model

View source: R/simulated_data.R

simDataR Documentation

Simulate data according to the scDist model

Description

Simulate data according to the scDist model

Usage

simData(nct = 10, J = 50, N1, N2, G = 1000, nn = 100, tau = 0.5)

Arguments

nct

The number of cell types.

J

The number of cells per cell type.

N1

The number of patients in first condition (reference).

N2

The number of patients in second condition.

G

The number of genes.

nn

The number of non-null genes between the conditions.

tau

The standard deviation of the patient-specific effect.

Value

A list with components

  • Y - A matrix containing normalized counts (genes x cells).

  • meta.data - Metadata that can be used as input to 'scDist'.

  • D.true - The true distance

Author(s)

Phillip B. Nicol <philnicol740@gmail.com>


phillipnicol/pcDiffPop documentation built on Nov. 29, 2024, 6:06 p.m.