Learn R Programming

FracFixR (version 1.0.0)

PlotFractions: PlotFractions: Visualize Fraction Proportions

Description

Creates a stacked bar plot showing the distribution of RNA across fractions for each replicate, including the "lost" fraction.

Usage

PlotFractions(FracFixed)

Value

ggplot2 object showing fraction proportions

Arguments

FracFixed

Output from FracFixR() function

Examples

Run this code
data(example_counts)
data(example_annotation)

# Run FracFixR
results <- FracFixR(example_counts, example_annotation, parallel=FALSE)
# Create fraction plot
frac_plot <- PlotFractions(results)
# Save plot with ggsave("fractions.pdf", frac_plot, width = 10, height = 8)

Run the code above in your browser using DataLab