Learn R Programming

singleCellHaystack (version 1.0.2)

get_reference: Get reference distribution

Description

Get reference distribution

Usage

get_reference(param, use.advanced.sampling = NULL)

Value

A list with two components, Q for the reference distribution and pseudo.

Arguments

param

Parameters of the analysis, as set by function 'get_parameters_haystack'

use.advanced.sampling

If NULL naive sampling is used. If a vector is given (of length = no. of cells) sampling is done according to the values in the vector.