run_TWilcox: Differential Expression Analysis by T test or Wilcox-rank-sum...

Description Usage Arguments Details Value Author(s) Examples

View source: R/DA_T_Wilcox_Test.R

Description

The data of features maybe either non-normal distribution or normal distribution(Gauss Distribution). shapiro.test is used to check the distribution. T-test is for normal distribution, while Wilcox-rank-sum test is for non-normal distribution. The log2FoldChange is calculate by the geometricmean or median of two groups after a linear scale (Zscore).

Usage

1
2
3
4
5
6
7
8
run_Wilcox(dataset=ExpressionSet,
                  trim="none",
                  transform="none",
                  normalize="none",
                  Group_info="Group",
                  Group_name=c("HC", "AA"),
                  Pvalue=0.05,
                  Log2FC=1)

Arguments

trim,

Character; filter to apply.(default: trim="none").

transform,

Character; transformation to apply.(default: tranform="none").

normalize,

Character; normalization to apply.(default: normalize="none").

Group_info,

Character; design factor(default: "Group").

Group_name,

Character; (Required) the group for comparison.

Pvalue,

Numeric; significant level(default: 0.05).

Log2FC,

Numeric; log2FoldChange(default: 1).

Expression,

ExpressionSet; (Required) ExpressionSet object.

Details

12/3/2021 Guangzhou China

Value

significant difference with enriched directors

Author(s)

Hua Zou

Examples

1
2
3
4
data(ExprSetRawRB)

TWilcox_res <- run_TWilcox(dataset=ExprSetRawRB, Group_info="Group", Group_name=c("HC", "AA"), Pvalue=0.05, Log2FC=1)
TWilcox_res$res

HuaZou/MyRtools documentation built on Jan. 6, 2022, 8:56 a.m.