fabp_lin_reg: Compute FAB p-values under linear regression linking model

Description Usage Arguments Value

View source: R/fabp_lin_reg.R

Description

Comutes FAB p-values based on a linear regression linking model for matrix data given row and column covariates.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
fabp_lin_reg(
  Y,
  S,
  R,
  U,
  V,
  pool_sampling_var = T,
  Y1 = NULL,
  S1 = NULL,
  R1 = NULL
)

Arguments

Y

matrix of averages of experimental readout values over R replicates

S

matrix of standard errors of experimental readout values over R replicates

R

number of replicates per readout value

U

the row features

V

the column features

pool_sampling_var

logical; indicates whether sampling variance should be assumed the same across hypothesis tests

Y1

matrix of averages of experimental readout values over R1 replicates (used for contrast scores for two-sample t-tests; Y is taken to be the other sample)

S1

matrix of standard errors of experimental readout values in Y1 over R1 replicates

R1

number of replicates per readout value in Y1

Value

A data.frame of FAB p-values and the standard UMP p-values, one for each entry in Y (or each contrast score Y - Y1)


j-g-b/BTF documentation built on Oct. 11, 2020, 7:12 a.m.