Learn R Programming

RTN (version 1.10.0)

avs.get: Get information from individual slots in an AVS object.

Description

Get information from individual slots in an AVS object.

Usage

avs.get(object, what="summary", report=FALSE, pValueCutoff=NULL)

Arguments

object
an object of class 'AVS' AVS-class.
what
a single character value specifying which information should be retrieved from the slots. Options: 'markers', 'validatedMarkers', 'variantSet', 'randomSet', 'linkedMarkers', 'randomMarkers', 'vse', 'evse', 'summary' and 'status'.
report
a single logical value indicating whether to return results from 'vse', 'evse' as a consolidated table (if TRUE), or as they are (if FALSE).
pValueCutoff
an optional single numeric value specifying the cutoff to retrive results for p-values considered significant.

Value

get the slot content from an object of class 'AVS' AVS-class.

Examples

Run this code

## Not run: 
# #This example requires the RTNdata package! (currently available under request)
# library(RTNdata.LDHapMap.rel27)
# data(bcarisk)
# avs <- new("AVS", markers=bcarisk)
# avs <- avs.preprocess(avs, nrand=100)
# avs.get(avs)
# ## End(Not run)

Run the code above in your browser using DataLab