Anova_info: ANOVA Test for each gene

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Anova_info(
  eset,
  non.zero = TRUE,
  markers = NULL,
  clusters,
  samples,
  select.ct = NULL,
  num.info = 25,
  ...
)

Arguments

eset

single cell ExpressionSet

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 eset

clusters

character, the name of phenoData used as clusters

samples

character, the name of phenoData 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 Dec. 5, 2019, 12:58 a.m.