warning_DA: Warning for differential_analysis_scExp

View source: R/diff_analysis_gene_set_enrichment.R

warning_DAR Documentation

Warning for differential_analysis_scExp

Description

Warning for differential_analysis_scExp

Usage

warning_DA(scExp, by, de_type, method, block, group, ref)

Arguments

scExp

A SingleCellExperiment object containing consclust with selected number of cluster.

by

= A character specifying the column of the object containing the groups of cells to compare. Exclusive with de_type == custom

de_type

Type of comparisons. Either 'one_vs_rest', to compare each cluster against all others, or 'pairwise' to make 1 to 1 comparisons. ('one_vs_rest')

method

Wilcoxon or edgerGLM

block

Use batches as blocking factors ?

group

If de_type is custom, the group to compare (data.frame), must be a one-column data.frame with cell_clusters or sample_id as character in rows

ref

If de_type is custom, the reference to compare (data.frame), must be a one-column data.frame with cell_clusters or sample_id as character in rows

Value

Warnings or Errors if the input are not correct


vallotlab/ChromSCape documentation built on Oct. 15, 2023, 1:47 p.m.