permutation_test-function: Permutation Test For Proportions

permutation_testR Documentation

Permutation Test For Proportions

Description

Permutation Test For Proportions

Usage

permutation_test(
  sc_utils_obj,
  cluster_identity = NA,
  sample_1 = NA,
  sample_2 = NA,
  sample_identity = "orig.ident",
  n_permutations = 1000
)

Arguments

sc_utils_obj

sc_utils object

cluster_identity

Column that has cluster names

sample_1

First sample to compare (ie. control)

sample_2

Sample to compare to first sample (ie. treatment)

sample_identity

Column that has sample names

n_permutations

Number of permutations


rpolicastro/scProportionTest documentation built on Aug. 24, 2023, 2:23 a.m.