Description Usage Arguments Value Author(s) Examples
Creates a plot of the chromosome of interest segmented, a dataframe including all the segments, and a dataframe including the predictions from the regression tree using the optimal cp value for the chromosome, and iterative regression trees.
1 | iterseg.chr(df, chromid, cpvalue = NA)
|
df |
A dataframe with columns of Start.Pos, log2r, and Chr columns. The Chr column should have format like "chr1", "chr21", "chrY". |
chromid |
The chromosome of interest in the form "chr3" or "chr21" |
cpvalue |
Specify a constant cp value for the regression tree to use instead of the optimal cp value |
A list containing a dataframe with all of the segmentation data (segments), and a dataframe with the predictions from the regression tree (regtreepred), a plot of the chromosome data and final predictions (chrplot), a list 5 plots of each step in iteration (plots)
Annika Cleven
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.