plot_EvG: display the association between expression values and...

Description Usage Arguments Details Value Author(s) Examples

Description

display the association between expression values and genotypes in an smlSet instance

Usage

1
plot_EvG(gsym, rsid, sms, ...)

Arguments

gsym

instance of class genesym or probeId, casting a string that names a gene (which will be looked up using the annotation slot of sms) or a probe which must be resident on the array underlying the expression content of sms

rsid

instance of class rsid naming a SNP with genotype values given among the columns of the smList components of sms

sms

an instance of smlSet

...

additional parameter to plot

Details

When the genotype is categorical, will use boxplots; when genotype has been imputed and includes expected allele counts, will use a scatterplot.

Value

a plot is rendered on the current display

Author(s)

VJ Carey <stvjc@channing.harvard.edu>

Examples

1
2
3
4
 if ("GGtools" %in% installed.packages()[,1]) {
  s20 = getSS("GGtools", "20")
  plot_EvG(genesym("CPNE1"), rsid("rs6060535"), s20)
 }

GGBase documentation built on Nov. 8, 2020, 5:45 p.m.