plot_ASE.Rd
This function is used to showed the estimated SNP-level ASE, i.e. major allele proportion, for one condition sample across all individuals and SNPs after haplotype phasing. The individuals are aligned based on an increasing trend of their median ASE across all snps for a given gene.
plot_ASE(dat, phased = FALSE)
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 |
The boxplot (ggplot2::geom_boxplot) of the estimated SNP-level ASE across individuals