makeAeiPlot: Plot GTEx AEI ratios

Description Usage Arguments Details See Also Examples

View source: R/makeAeiPlot_function.R

Description

makeCorGene plots AEI ratios person by person and returns a dataframe with allelic ratios for a given gene

Usage

1
makeAeiPlot(mgl, gene = c(), saveFile = FALSE)

Arguments

mgl

List; see buildFromNames, buildFromRegion, or buildFromEnsgs

gene

String indicating gene to be considered (note gene name must match names(mgl))

saveFile

A logical flag indicating whether a csv file ('AeiPlot.csv') should be saved in the current directory.

Details

Uses ggplot function to plot allelic ratios published by GTEx. Each individual is plotted a separate graph. Tissues are displayed on the x-axis and corresponding ratios on the y. SNPs are displayed in different colors and annotations in different shapes.Option to save a summarytable (csv) of allelic ratios. Only one gene at a time.

See Also

Other output: makeCoXpGene, makeCoXpTranscript, makeDnaseSig, makeGoSearch, makeGo, makeMultiEqtl, makeOverlapTable, makeOverlap, makePhenotypeSearch, makePhenotypes, makeSnpSearch, makeSnps, makeSummary

Examples

1
## Not run: makeAeiPlot(myMgl, gene = c('NCOA4'), saveFile = FALSE)

mglR documentation built on May 29, 2017, 4:07 p.m.