Helper function to create a properly structured transcript model
Usage
create_transcript_model(transcript_id, weights, r2, pvalue, predicted)
Arguments
- transcript_id
character, transcript/isoform identifier
- weights
tibble/data.frame with SNP and Weight columns
- r2
numeric, cross-validated R-squared
- pvalue
numeric, p-value from prediction correlation
- predicted
numeric vector, cross-validated predictions
Value
A list representing a single transcript model