Skip to contents

Options for mashr::cov_flash, a data-driven generator. factors is not settable here: pecotmr sets it to distinguish the "flash" and "flashNonneg" components.

Usage

CovFlashOptions(
  subset = NULL,
  remove_singleton = FALSE,
  tag = NULL,
  output_model = NULL,
  greedy_args = list(),
  backfit_args = list(),
  ...
)

Arguments

subset

Rows of the data to use. NULL (default) uses all.

remove_singleton

Drop singleton effect vectors. Default FALSE.

tag, output_model

Passed through to mashr::cov_flash.

greedy_args, backfit_args

Option lists forwarded to flashier's greedy and backfit stages; mashr nests these itself.

...

Any other mashr::cov_flash argument.

Value

A MethodOptions object.

Examples

CovFlashOptions(remove_singleton = TRUE)
#> <MethodOptions: flash>
#>   forwarded to mashr::cov_flash()
#>   argument names checked against mashr::cov_flash()
#>   remove_singleton       TRUE
#>   greedy_args            
#>   backfit_args