Anova_info: ANOVA Test for each gene

View source: R/utils.R

Anova_infoR Documentation

ANOVA Test for each gene

Description

This function is to test the two-way significance of cell type specific expression cross samples

Usage

Anova_info(
  sce,
  non.zero = TRUE,
  markers = NULL,
  clusters,
  samples,
  select.ct = NULL,
  num.info = 25,
  ...
)

Arguments

sce

SingleCellExperiment single cell dataset

non.zero

logical, default as TRUE. If TRUE, we only use gene that have non-zero expression

markers

vector of characters, default as NULL. If NULL, use all genes in sce

clusters

character, the name of colData used as clusters

samples

character, the name of colData used as samples

select.ct

vector of cell types included, default as NULL. If NULL, include all cell types in x

num.info

numeric, number of selected gene for each cell type. Default at 25

Value

a list of

  • F statistics of samples;

  • F statistics of clusters;

  • F statistics of two-way anova;

  • selected informative genes: high F statictis for clusters compare to samples;


xuranw/MuSiC documentation built on March 7, 2024, 11:45 a.m.