SetComplexBackgroundDistributionList-tpcaResult-method: Set ComplexBackgroundDistributionList

SetComplexBackgroundDistributionList,tpcaResult-methodR Documentation

Set ComplexBackgroundDistributionList

Description

Set ComplexBackgroundDistributionList

Usage

## S4 method for signature 'tpcaResult'
SetComplexBackgroundDistributionList(object, lt)

Arguments

object

an object of class tpcaResult

lt

a list of data frames containing distances of random complexes with different number of members

Value

an object of class tpcaResult

Examples

m1 <- matrix(1:12, ncol = 4)
m2 <- matrix(2:13, ncol = 4)
m3 <- matrix(c(2:10, 1:7), ncol = 4)

rownames(m1) <- 1:3
rownames(m2) <- 2:4
rownames(m3) <- 2:5

mat_list <- list(
    m1, m2, m3
)
tpcaObj <- new("tpcaResult", ObjList = mat_list)
SetComplexBackgroundDistributionList(tpcaObj, 
  list('3' = data.frame(pair = "A:B")))

nkurzaw/Rtpca documentation built on May 12, 2023, 2:10 p.m.