update_cal_fit_func: Update susiF by computing posterior curves

View source: R/operation_on_susiF_obj.R

update_cal_fit_func.EBmvFRR Documentation

Update susiF by computing posterior curves

Description

Update susiF by computing posterior curves

Usage

## S3 method for class 'EBmvFR'
update_cal_fit_func(obj, indx_lst, ...)

update_cal_fit_func(obj, indx_lst, ...)

## S3 method for class 'susiF'
update_cal_fit_func(
  obj,
  indx_lst,
  Y,
  X,
  post_processing = "TI",
  filter.number = 10,
  family = "DaubLeAsymm",
  ...
)

Arguments

obj

a susiF/EBmvFR object defined by init_susiF_obj function

indx_lst

list generated by gen_wavelet_indx for the given level of resolution

Y

functional phenotype, matrix of size N by size J. The underlying algorithm uses wavelet which assume that J is of the form J^2. If J not a power of 2, susif internally remaps the data into grid of length 2^J

X

matrix of size n by p in

filter.number

see documentation of wd from wavethresh package

family

see documentation of wd from wavethresh package

Value

susiF object


stephenslab/susiF.alpha documentation built on March 1, 2025, 4:28 p.m.