Bootstrap_estimate_Plot
Bootstrap_estimate_Plot.Rd
This forest plot shows the correct estimate values and 95% CI for different celltyppes, using the ggplot packages
Usage
Bootstrap_estimate_Plot(
bootstrap_results,
figurenames = NULL,
width = 9,
height = 7,
do_plot = F
)
Arguments
- bootstrap_results
result list of Pagwas from Pagwas$bootstrap_results or Pagwas@misc$bootstrap_results
- figurenames
The filename and address of the output plot, default is "test_forest.pdf".IF figurenames= NULL, only plot the figure and have not pdf figure.
- width
figure width
- height
figure height
- do_plot
whether to plot the plot.
Examples
library(scPagwas)
load(system.file("extdata", "Pagwas_data.RData", package = "scPagwas"))
Bootstrap_estimate_Plot(
Pagwas = Pagwas_data,
width = 9,
height = 7,
do_plot = TRUE
)
#> Error in Bootstrap_estimate_Plot(Pagwas = Pagwas_data, width = 9, height = 7, do_plot = TRUE): unused argument (Pagwas = Pagwas_data)