plotASEMetrics: Plot ASE metrics generated by Gen.input.

Description Usage Arguments Examples

View source: R/plotASEMetrics.R

Description

This function takes the output of Gen.input and produces various plots regarding allele specific expression in the dataset.

Usage

1
plotASEMetrics(input, individuals = NULL, genes = NULL, variants = NULL)

Arguments

input

The output of the Gen.input function

individuals

The individual(s) to restrict the plots to.

genes

The gene(s) to restrict the plots to.

variants

The variant(s) to restrict the plots to.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#' #Plot the output of Gen.input stored in aseDat
plotASEMetrics(aseDat)
                    
#Annotating the input files using a previous human gene set
Gen.input("path_to_ASE_file/ASEfile.txt.gz",
                    "path_to_legend_file/file.legendfile.gz",
                   "path_to_haplotypes_file/hapfile.hap.gz",
                    "path_to_samples_file/samples.txt", ensembl_version=78)

#Annotating the input files using the most recent mouse gene set
Gen.input("path_to_ASE_file/ASEfile.txt.gz",
                    "path_to_legend_file/file.legendfile.gz",
                  "path_to_haplotypes_file/hapfile.hap.gz",
                    "path_to_samples_file/samples.txt",
                    "mmusculus")

AClement1990/hap-eQTL documentation built on Jan. 8, 2021, 12:41 a.m.