parse_bar_graph: Takes the JSON dictionary for a bar graph, and returns a...

View source: R/plot_parsers.R

parse_bar_graphR Documentation

Takes the JSON dictionary for a bar graph, and returns a named list of data frames, one for each sample.

Description

Takes the JSON dictionary for a bar graph, and returns a named list of data frames, one for each sample.

Usage

parse_bar_graph(plot_data, name)

Value

A list of data frames, one for each sample. Each data frame will have one column corresponding to each category in the bar chart. For example, for the plot "SnpEff: Counts by Genomic Region", we will have one column for the number of intron variants, one column for the number of exon variants, etc. This means that the number of columns will be fairly variable for different plots.


TidyMultiqc documentation built on Sept. 25, 2022, 9:05 a.m.