Plot read depth for data.frame
Arguments
- sample_metadata
sample metadata dataframe, required when
group_colnameis supplied.- sample_id_colname
column in sample metadata containing sample IDs.
- group_colname
sample metadata column used to color bars. Leave blank to use the current single-color bar fill.
- color_values
colors used when
group_colnameis supplied. Named vectors are matched to group values; unnamed vectors follow group order and are extended with MOSuite colors when too few colors are supplied. Defaults toNULL; whenNULL,mosuite_paletteis used.- ...
additional arguments (ignored; accepted for compatibility with the moo dispatch)
See also
plot_read_depth() generic
Other plotters for counts dataframes:
plot_corr_heatmap,data.frame-method,
plot_histogram,data.frame-method,
plot_pca,data.frame-method
Examples
# dataframe
plot_read_depth(nidap_clean_raw_counts)
