seabird: Calculate ROC area-under-curve for X-chromosome sex...

Description Usage Arguments Value Author(s) References

View source: R/seabird.R

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

1
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 [email protected]

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)


schalkwyk/wateRmelon documentation built on Oct. 27, 2018, 3:26 a.m.