getPvalueOfNDiff.default: Get number of diff bins and the pvalue given two groups.

View source: R/bmat.R

getPvalueOfNDiff.defaultR Documentation

Get number of diff bins and the pvalue given two groups.

Description

Get number of diff bins and the pvalue given two groups.

Usage

getPvalueOfNDiff.default(
  mat,
  group,
  ith = 1,
  jth = 2,
  threshold = 0.04,
  nperm = 20
)

Arguments

group

vector of integer, cluster index of cells

ith

integer, default 1

jth

integer, default 2

threshold

double, default 0.04

nperm

integer, default 20

bmat

sparseMatrix, cell by bin

Value

vector first is number of diff bin, second is p-value


beyondpie/pureRUtils documentation built on Jan. 10, 2023, 3:22 a.m.