seabird {wateRmelon} | R Documentation

## Calculate ROC area-under-curve for X-chromosome sex differences (internal function for calculating the seabi metric)

### Description

This is a wrapper for the prediction and performance functions from the ROCR package that takes a vector of p-values and a vector of true or false for being on the X. See `seabi` function which does everything.

### Usage

    seabird(pr, stop = 1, X)

### Arguments

`pr` | a vector of p-values, such as calculated by `seabird`
`stop` | fraction for partial area under curve. For example 0.1 gives you the area for the lowest 10% of p-values.
`X` | logical vector the same length as pv, true for features mapped to X-chromosome

### Value

Returns an area value between 0 and 1, where 1 is the best possible performance.

### Author(s)

Leonard C Schalkwyk 2012 Leonard.Schalkwyk@kcl.ac.uk

### References

Pidsley R, Wong CCY, Volta M, Lunnon K, Mill J, Schalkwyk LC: A data-driven approach to preprocessing Illumina 450K methylation array data (submitted)

[Package wateRmelon version 1.24.0 Index]