Tool.GenPermutation: Generate Permutations of Count Matrix

View source: R/utils.R

Tool.GenPermutationR Documentation

Generate Permutations of Count Matrix

Description

This function uses cell label permutation to generate one list of normalized count matrix.

Usage

Tool.GenPermutation(
  object,
  count.matrix,
  cells.meta = NULL,
  genes.name = NULL,
  perm.times = 1000,
  p.seed = 101
)

Arguments

object

A InterCell object.

count.matrix

Normalized count matrix, with columns as cell barcodes and rows as gene names.

cells.meta

cell group labels, which are used to group cells in several groups rather all different barcodes.

genes.name

Readable gene names, which should be the same set as genes given in DEG.table. To be noted, if genes are remapped when created InterCell object, it will be automatically applied to this.

perm.times

Permutation times. Default is set to 1000.

p.seed

Seed for generating permutations.


ZJUDBlab/InterCellDB documentation built on March 19, 2023, 4:56 p.m.