plotROC-methods: plotROC

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Visualize the performance of the classification model fit (prediction of the gene associated peaks).

Usage

1
2
3
4
plotROC(object, ...)

## S4 method for signature 'ChipDataSet'
plotROC(object, ...)

Arguments

object

A ChipDataSet object.

...

Further arguments passed to plot.

Details

The plotROC is a simple wrapper for the plot function implemented in pROC package.

The ROC curve is created by plotting the true positive rate (sensitivity) against the false positive rate (1 - specificity) at various threshold settings. The closer the curve follows the left-hand border and then the top border of the ROC space, the more accurate the test. The area under the curve (AUC) is a measure of accuracy.

Value

ROC plot.

Author(s)

Armen R. Karapetyan

See Also

predictTssOverlap

Examples

1
2
3
4
5
6
7
8
### Load ChipDataSet object
data(cds)

### Classify peaks on gene associated and background
predictTssOverlap(object = cds, feature = "pileup", p = 0.75)

### Visualize the performance of the model fit
plotROC(object = cds, col = "red3", grid = TRUE, auc.polygon = TRUE)

transcriptR documentation built on Nov. 8, 2020, 8:12 p.m.