Export a multiple motif regression model
export_multi_regression.Rd
Export a multiple motif regression model
Examples
if (FALSE) { # \dontrun{
res_multi <- regress_pwm(cluster_sequences_example, cluster_mat_example[, 1],
final_metric = "ks", spat_bin_size = 40,
spat_num_bins = 7,
motif_num = 2
)
export_fn <- tempfile()
export_multi_regression(res_multi, export_fn)
light_res <- export_multi_regression(res_multi)
# loading can be done by:
r <- load_multi_regression(export_fn)
} # }