View source: R/visualization.R
plot_model_inputs | R Documentation |
Plot barcode level model inputs
plot_model_inputs(
bh_input,
barcodes = NULL,
proteins = NULL,
strains = NULL,
force = FALSE,
log10_counts = TRUE
)
bh_input |
a data frame of filtered model inputs |
barcodes |
a character vector of barcodes to filter to |
proteins |
a character vector of proteins to filter to |
strains |
a character vector of strains to filter to |
force |
if TRUE, override the check preventing gigantic plots |
log10_counts |
if TRUE, log10 the values in both panels |
Grey cells in the top panel correspond to zeros in the original input (if log10_counts = TRUE). Empty cells (i.e. where you can see the underlying grid lines) are non-present in the input, likely due to being filtered out.
## Not run:
bh_input = data.table::fread("~/Desktop/tmp/cache/bh_input.tsv.gz")
plot_model_inputs(bh_input,
strains = c("AB1", "AB10", "AB12"),
proteins = c("LSAMP", "THSD1_Epitope-1", "LRTM1"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.