Arguments
beta0.mat
A matrix where rows are ld lasso estimates. This matrix has number of rows equal
to length(s2.vec) and number of columns equal to the number of SNPs
s2.vec
The vector of s2 values used to generate the rows of beta0.mat
type
Type of plot, "l" for lines, "p" for points
indx
If index is NA then indx, is a vector of SNP indices to be
plotted in red.
s2star
Value of s2star from cp object. If s2star is not NA, a vertical line is plotted at this value.
abs
A logical variable indicating whether to plot absolute value of beta instead of beta