density_plotter.Rd
Generate a density-plot of expression of selected genes, faceted by selected feature
density_plotter(expression_df, feature_label)
expression_df | Data frame containing expression values. |
---|---|
feature_label | Label in the data frame to facet by. |
p A ggplot object containing the generated plot
df <- tibble::tibble(TPM = runif(300), lab = rep(c('A', 'B', 'C'), 100), gene = rep(c('A', 'B', 'C'), 100)) density_plotter(df, feature_label = "lab")