make_B: Construct Shift equitable matrix

View source: R/Equitable_Transform.R View source: R/Equitable_Transform.R

make_BR Documentation

Construct Shift equitable matrix

Description

Finds a shift equitbale matrix from a slope equitbel matrix and a sequence profile

Usage

make_B(xref, orig, A, uflag = FALSE)

Arguments

xref

Reference "location" to base shift matrix default set to 1 (for PCA dominant is first)

orig

2D Data set used when uflag FALSE profile at t=constant when uflag=TRUE (u(x) equivalent)

A

Slope equitable matrix

uflag

TRUE(default) or FALSE TRUE uses origas u(x): FALSE uses average profile (averaged over rows)

pflag

ignore

Value

B shift matrix B

Examples

d<-eg4(2,2); Td<-transformE(d)
B<-make_B(orig=Td$ET.x, A=Td$E.s)
B<-make_B(xref=5,orig=Td$ET.x, A=Td$E.s)
B<-make_B(xref=5,orig=Td$ET.x[1,], A=Td$E.s,uflag=TRUE)


celphin/Equitable documentation built on Jan. 23, 2023, 11:02 p.m.