bwplotfun: Sex stratified mean methylation

Description Usage Arguments Details Value Author(s)

Description

Generate sex-stratified dotplot of methylation for a given region.

Usage

1
2
bwplotfun(samps, bumpavg, dontuse = "AGA", stratifyBySex = FALSE,
  extra.indeps = NULL)

Arguments

samps

A data.frame that maps samples to phenotype. There must be both a Category and Gender column.

bumpavg

Mean methylation data, usually from a call to getMeans

dontuse

Category levels that are not to be used in the dotplot. If there are only two levels, use "".

stratifyBySex

Boolean. Should the dotplot be stratified by sex? Defaults to FALSE.

extra.indeps

Are we fitting a model with extra independent variables? This must be a character vector, and all values must be column names for the samps data.frame.

Details

This is an internal function and not intended for direct use. This is intended to create a dotplot stratified by sex, to show the mean methylation for a given region of the genome, presumably because there is differential methylation for at least on sex.

Value

Nothing is returned. Only called for the side effect of creating a dotplot.

Author(s)

James W. MacDonald (jmacdon@u.washington.edu)


jmacdon/methylation documentation built on May 19, 2019, 12:49 p.m.