Description Usage Arguments Details Value Examples
Plot Metagene Average Profile
1 | plot_profile(meta_tbl, color_by = NULL)
|
color_by |
name of column from tbl to use for coloring of lines and ranges (default=NULL) |
tbl |
tidy metagene tbl |
plots line from ('estimate'), and range from conf.low and conf.high columns in tbl
tbl
1 2 3 4 5 6 7 8 | bedfile <- system.file("extdata", "Chen_PROMPT_TSSs_liftedTohg38.bed", package = "RMetaTools")
bw_plus <- system.file("extdata", "GSM1573841_mNET_8WG16_siLuc_plus_hg38.bw", package = "RMetaTools")
bw_minus <- system.file("extdata", "GSM1573841_mNET_8WG16_siLuc_minus_hg38.bw", package = "RMetaTools")
anno=bedfile;anchor='center';upstream=1000;downstream=1000;window_size=10
collapse_fun = rowMeans;negate_neg_strand_values=FALSE
metamat <- metagene_matrix(bw_plus, bw_minus, bedfile, anchor, upstream, downstream, window_size)
tidy_log2_avgs <- meta_average(mutate(metamat, value = log2(value+1)))
plot_profile(tidy_log2_avgs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.