plot_mx_proportions {mxnorm}R Documentation

Visualize variance proportions by marker and table

Description

Visualize variance proportions by marker and table

Usage

plot_mx_proportions(mx_data)

Arguments

mx_data

mx_dataset object that been used with run_var_proportions() to run random effects modeling. Note that the table attribute must be set when running run_var_proportions().

Value

ggplot2 object with proportions plot

Examples

mx_data = mx_dataset(mxnorm::mx_sample, "slide_id", "image_id",
  c("marker1_vals","marker2_vals","marker3_vals"),
  c("metadata1_vals"))
mx_data = mx_normalize(mx_data, transform="log10",method="None")
mx_data = run_var_proportions(mx_data, table="both")
plot_mx_proportions(mx_data)

[Package mxnorm version 1.0.3 Index]