eselistFromYAML | R Documentation |
Building ExploratorySummarisedExperimentList objects can be a bit fiddly. This function makes automates object construction based on a descriptor in yaml format.
eselistFromYAML(configfile)
configfile |
A YAML-format config file describing the data to be compiled into an ExploratorySummarizedExperimentList object |
For a simple study with one 'experiement' for Gene-level results, and three 'assays' describing raw, filtered and normalised expression you might make a YAML like:
title: My RNA seq experiment author: Joe Blogs report: report.md group_vars: - Group - Replicate default_groupvar: Group experiments: Gene: coldata: file: my.experiment.csv id: External annotation: file: my.annotation.csv id: gene_id entrez: ~ label: gene_id expression_matrices: Raw: file: raw_counts.csv measure: counts Filtered: file: filtered_counts.csv measure: Counts per million Normalised: file: normalised_counts.csv measure: Counts per million read_reports: read_attrition: read_attrition.csv contrasts: comparisons: - Variable: Group Group.1: control Group.2: TreatmentA - Variable: Group Group.1: control Group.2: TreatmentB contrast_stats: Gene: Normalised: pvals: pvals.csv qvals: qvals.csv
out An ExploratorySummarizedExperimentList object suitable for passing to prepareApp
eselist <- eselistFromYAML("my.yaml")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.