AA_PartialCC: Association Analysis by Partial Correlation Coefficient

Description Usage Arguments Details Value Author(s) Examples

View source: R/AA_PartialCorrelation.R

Description

The correlation between two variables (X, Y) while controling a third variable(Z). Here, we regard each Feature as X and each Metabolite as Y, the Age/Gender variable as Z.

Usage

1
AA_PartialCC(dataset=ExpressionSet, Group_info="Group", Group_name=NULL, AdjVar=c("Age", "Gender"), Method="pcor")

Arguments

Group_info,

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

Group_name,

Character; the group for filtering(default: NULL).

AdjVar,

Character; (Required) the variables for correlation(default: AdjVar=c("Age", "Gender")).

Method,

Character; (Required) the method for correlation(default: Method="pcor").

Expression,

ExpressionSet; (Required) ExpressionSet object.

Details

12/4/2021 Guangzhou China

Value

a list of results Partial Correlation matrix(estimate, pvalue, statistics) Partial Correlation Coefficient table

Author(s)

Hua Zou

Examples

1
2
3
data(ExprSetRawRB)

PartialCC_res <- AA_PartialCC(dataset=ExprSetRawRB, Group_info="Group", Group_name=NULL, AdjVar=c("Age", "Gender"), Method="pcor")

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