rlm_beta_diff_test: Test whether there is difference in slopes of y vs. x in two...

Description Usage Arguments Value Note

Description

Test whether there is difference in slopes of y vs. x in two classes of samples

Usage

1
rlm_beta_diff_test(x, y, x.class, n = 1000)

Arguments

x

matrix where rows = genes, columns = samples

y

value to be regressed with each row

x.class

boolean vector (TRUE or FALSE) for each sample indicating sample group

n

number of permutations

Value

data frame of estimates, confidence intervals, P values for slopes in each sample class as well as the difference between the classes.

Note

In the output, Class1 refers to the TRUE group while Class2 refers to the FALSE group.


agentlans/CorTools documentation built on May 8, 2019, 1:37 a.m.