tsr_metrics | R Documentation |
Calculate various TSR metrics
TSR shape descriptors such as peaked versus broad can enrich for different functional classes of genes. TSRexploreR allows for the calculation of various common TSR shape indicators such as inter-quantile width (IQR), shape index (broad versus peaked), and peak balance. 'iqr_lower' and 'iqr_upper' determine the upper and lower quantile bounds for calculation.
tsr_metrics(experiment, iqr_lower = 0.1, iqr_upper = 0.9)
experiment |
TSRexploreR object. |
iqr_lower |
Lower IQR cutoff value. |
iqr_upper |
Upper IQR cutoff value. |
TSRexplorer object with TSR metrics added to TSSs and TSRs.
data(TSSs_reduced) exp <- TSSs_reduced %>% tsr_explorer %>% format_counts(data_type="tss") %>% tss_clustering(threshold=3) %>% associate_with_tsr exp <- tsr_metrics(exp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.