Description Usage Arguments Details Value Author(s) See Also

View source: R/nhppSimConstWindowAnalysis.R

Takes the dataset and metafile output of `nhppSimConstWindowGen`

and of SegSeq, then evaluates the performance in change-point precision and recall. The dataset must be generated in such format for this function to work.

1 2 3 4 5 6 |

`filePrefix` |
The first part of the filename for data and metafile generated by |

`chromosomeN` |
The number indicating the chromosome number the dataset emulates |

`distMetric` |
A set of criterions of determining change points called are true. A call is deemed true if an actual signal change points within x number of reads is matched to it, after a minimum-cost bipartite matching. Larger value is a looser criterion. |

`cptLen` |
The second part of the filename for data and metafile generated by |

`nPair` |
A part of the filename for data and metafile generated by |

`nRepeat` |
A part of the filename for data and metafile generated by |

`statistic` |
The type of statistic to use for the analysis |

`grid.size` |
Argument to |

`takeN` |
Argument to |

`maxNCut` |
Argument to |

`minStat` |
Argument to |

`verbose` |
If |

`timing` |
Performs timing of the |

`hasRun` |
If |

`width` |
Width of the graph output file |

`height` |
Height of the graph output file |

This function is used in conjunction with `nhppSimConstWindowGen`

. It reads in the data and metafile output of the said function, and compares the performance of our algorithm with SegSeq. It is important that SegSeq has been used on the simulation datasets generated before using this.

`simCBS ` |
Result of |

`CBSMatchDist ` |
The distance among reads after minimum-cost bipartite graph matching for our algorithm |

`SegMatchDist ` |
The distance among reads after minimum-cost bipartite graph matching for SegSeq |

`CBSRecall, SegRecall ` |
The recall rates of two algorithms |

`CBSPrecision, SegPrecision ` |
The precision rates of two algorithms |

`CBSFMeasure, SegFMeasure ` |
The F-measure of two algorithms |

`trueTauMeanSigLen ` |
The mean distance between true signal boundaries |

`nTrueTau ` |
The number of true change points |

`nCBSCall, nSegCall ` |
Number of change points called by the two algorithms |

`CBSTime ` |
Mean computational time of |

Jeremy J. Shen

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.