Description Usage Arguments Details Value Author(s)

This function creates a trace plot as a function of s2, the LD LASSO constraint

1 |

`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 |

In this trace plot each line represents a SNP estimate and we see the behavior of the solution as the LD LASSO constraint is varied.

Creates a trace plot.

Samuel G. Younkin

ldlasso documentation built on May 30, 2017, 3:05 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.