plotEQTL: Make a boxplot of expression QTL in multiple conditions.

Description Usage Arguments Value Author(s)

View source: R/qtl_makePlots.R

Description

Plots are faceted by condition_name column in sample_metadata.

Usage

1
2
plotEQTL(selected_gene_id, genotype_id, expression_matrix, genotype_matrix,
  sample_metadata, gene_metadata)

Arguments

selected_gene_id

ID if the gene of interest.

expression_matrix

Matrix of normalised gene expression values (genes in rows, samples in columns). Column names correspond to sample_id in sample_metadata.

genotype_matrix

Matrix of genotypes (variants in rows, individuals in columns). Column names correspond to genotype_id in sample_metadata.

sample_metadata

data frame linking samples to genotypes (Required columns: sample_id, genotype_id, condition_name)

gene_metadata

data frame for linking gene ids to gene names. (Required columns: gene_id, gene_name)

gentype_id

ID of the variant of interest.

Value

ggplot2 object

Author(s)

Kaur Alasoo


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.