Converts the old list-of-lists format to the new isotwas_model class
Usage
convert_legacy_model(model_list, method, n_samples, n_snps)
Arguments
- model_list
List in legacy format (list of lists with Transcript, Model, R2, P, Pred)
- method
Character string identifying the method
- n_samples
Number of samples
- n_snps
Total number of SNPs
Value
An isotwas_model object