Description Usage Arguments Value
View source: R/ASEP functions.R
This function is used to showed the estimated SNP-level ASE difference, i.e. major allele proportion difference, between two condition samples across all individuals and SNPs after haplotype phasing. The individuals are aligned based on an increasing trend of their median ASE differences across all snps for a given gene.
1 | plot_ASE_diff(dat, phased = FALSE, minu_ref = TRUE)
|
dat: |
bulk RNA-seq data of a given gene. Must contain variables:
|
phased: |
a logical value indicates whether the haplotype phase of the data is known or not. Default is FALSE |
minu_ref: |
a logical value indicates when calculating the difference, whether the "ref_condition" should be treated as the minuend, i.e. the difference is calculated as estimated ASE for minuend_condition minus that for the other condition. Default is TRUE |
The boxplot (ggplot2::geom_boxplot) of the estimated SNP-level ASE difference between two conditions across individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.