plot_svfactor | R Documentation |
This should make a quick df of the factors and surrogates and plot them.
plot_svfactor(
expt,
svest,
sv = 1,
chosen_factor = "batch",
factor_type = "factor"
)
expt |
Experiment from which to acquire the design, counts, etc. |
svest |
Set of surrogate variable estimations from sva/svg or batch estimates. |
sv |
Which surrogate to plot? |
chosen_factor |
Factor to compare against. |
factor_type |
This may be a factor or range, it is intended to plot a scatterplot if it is a range, a dotplot if a factor. |
surrogate variable plot as per Leek's work
[ggplot2]
## Not run:
estimate_vs_snps <- plot_svfactor(start, surrogate_estimate, "snpcategory")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.