Learn R Programming

mglR (version 0.1.0)

makeAeiPlot: Plot GTEx AEI ratios

Description

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

Usage

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

Arguments

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

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

Run the code above in your browser using DataLab