| HSC_population_plot {ISAnalytics} | R Documentation |
Plot of the estimated HSC population size for each patient.
HSC_population_plot( estimates, project_name, timepoints = "Consecutive", models = "Mth Chao (LB)" )
estimates |
The estimates data frame, obtained via
|
project_name |
The project name, will be included in the plot title |
timepoints |
Which time points to plot? One between "All", "Stable" and "Consecutive" |
models |
Name of the models to plot (as they appear in the column of the estimates) |
A plot
Other Plotting functions:
CIS_volcano_plot(),
circos_genomic_density(),
integration_alluvial_plot(),
sharing_heatmap(),
sharing_venn(),
top_abund_tableGrob()
data("integration_matrices", package = "ISAnalytics")
data("association_file", package = "ISAnalytics")
aggreg <- aggregate_values_by_key(
x = integration_matrices,
association_file = association_file,
value_cols = c("seqCount", "fragmentEstimate")
)
aggreg_meta <- aggregate_metadata(
association_file = association_file
)
estimate <- HSC_population_size_estimate(
x = aggreg,
metadata = aggreg_meta,
stable_timepoints = c(90, 180, 360),
cell_type = "Other"
)
p <- HSC_population_plot(estimate, "PJ01")
p