Description Usage Arguments Value Author(s)
View source: R/qtl_makePlots.R
Plots are faceted by condition_name column in sample_metadata.
1 2 | makeMultiplePlots(snps_df, expression_matrix, genotype_matrix,
sample_metadata, gene_metadata)
|
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) |
List of ggplot2 objects.
Kaur Alasoo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.