out_prep: Preparing output of main susiF function

View source: R/operation_on_susiF_obj.R

out_prep.EBmvFRR Documentation

Preparing output of main susiF function

Description

Preparing output of main susiF function

Usage

## S3 method for class 'EBmvFR'
out_prep(obj, Y, X, indx_lst, outing_grid, ...)

out_prep(obj, Y, X, indx_lst, outing_grid, ...)

## S3 method for class 'susiF'
out_prep(
  obj,
  Y,
  X,
  indx_lst,
  outing_grid,
  filter_cs,
  filter.number = 10,
  family = "DaubLeAsymm",
  post_processing = "TI",
  tidx = NULL,
  names_colX = NULL,
  pos,
  ...
)

Arguments

obj

a susiF object defined by init_susiF_obj function

Y

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

X

matrix of size N by p

indx_lst

list generated by gen_wavelet_indx for the given level of resolution

outing_grid

grid use to fit fsusie

filter_cs

logical, if TRUE filter the credible set (removing low purity cs and cs with estimated prior equal to 0)

pos

the original position of the Y column

Value

susiF object


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