xci_qc: Plot cell fraction estimates

Description Usage Arguments Details Value

View source: R/betabin.R

Description

Plot cell fraction estimates from list of known XCI genes

Usage

1
xci_qc(xci_dt, xcig = NULL, gene_names = "", color_col = NULL, xist = TRUE)

Arguments

xci_dt

A data.table. The data to be used for the estimate of skewing (i.e: limited to XCI genes).

xcig

A logical. If xci_dt was not subset for training genes only, setting xcig to TRUE will filter the data.

gene_names

A character. If left blank, only genes that are further than 20 to "all", all genes will be named. Set to "none" to remove all annotations. Alternately, a character vector can be passed to annotate specific genes of interest.

color_col

A character. One of the columns of xci_dt can be used to color genes.

xist

A logical. Set to TRUE to display XIST in addition to the training genes.

Details

This function is mostly used in betaBinomXI to ensure that the cell fraction is estimated properly. However, it can be used from the output of betaBinomXI to troubleshoot estimation issues.

Value

The plot object in class ggplot.


SRenan/XCIR documentation built on Oct. 8, 2021, 3:11 a.m.