makeMultiplePlots: Make a list of plotEQTL plots.

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
makeMultiplePlots(snps_df, expression_matrix, genotype_matrix,
  sample_metadata, gene_metadata)

Arguments

snps_df

Data frame with at least two columns (gene_id, snp_id) corresponding to snps and genes to be plotted.

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)

Value

List of ggplot2 objects.

Author(s)

Kaur Alasoo


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