xCellSignifcanceBetaDist: Calculate significance p-values for the null hypothesis that...

View source: R/xCell.R

xCellSignifcanceBetaDistR Documentation

Calculate significance p-values for the null hypothesis that the cell type is not present in the mixture using a random matrix.

Description

xCellSignifcanceBetaDist Returns the FDR adjusted p-values of the chance that the cell is not present in the mixture.

Usage

xCellSignifcanceBetaDist(
  scores,
  beta_params = NULL,
  rnaseq = T,
  file.name = NULL
)

Arguments

scores

the xCell scores.

beta_params

the pre-calculated beta distribution parameters from random mixtures.

rnaseq

if beta_params is null, than uses xCell.data beta_params. If TRUE uses sequencing-based params, else array-based params.

file.name

file name to write the p-values table.

Value

a p-values matrix for each score.


IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.