produceResampling: This function produces the resampling dataset

View source: R/coda.R

produceResamplingR Documentation

This function produces the resampling dataset

Description

This function produces the resampling dataset

Usage

produceResampling(cnts, groups, n.perm = 1000, seed = 239)

Arguments

cnts

Counts of cell types in samples. Rows - samples, columns - cell types

groups

Vector with boolean values. TRUE - sample in the case group, FALSE - sample in the control group

seed

random seed

n.iter

Number of permutations

remain.groups

TRUE - if the labels of groups remain, FALSE - if to produce the null distribution

replace.samples

TRUE - is bootstrap on samples, FALAE - if to remain samples

Value

Updated data frame with Z scores


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.