printEffects: Print an effects table

Description Usage Arguments Details Value See Also Examples

View source: R/wga_GbyE_print.R

Description

Prints an object returned from snp.logistic or snp.matched

Usage

1
 printEffects(obj, op=NULL)

Arguments

obj

The return object from snp.logistic or snp.matched. No default.

op

Options list with names "digits" and "method" (see details). The default is NULL.

Details

Below are the names for the options list op. All names have default values if they are not specified.

Value

Returns NULL

See Also

snp.effects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 # Use the ovarian cancer data
 data(Xdata, package="CGEN")

 # Fit using a stratification variable
 fit <- snp.logistic(Xdata, "case.control", "BRCA.status",
                     main.vars=c("oral.years", "n.children"), 
                     int.vars=c("oral.years", "n.children"), 
                     strata.var="ethnic.group")

 # Compute the effects
 effects <- snp.effects(fit, "oral.years", var.levels=c(0, 2, 3)) 

 printEffects(effects)

CGEN documentation built on April 28, 2020, 8:08 p.m.