A function that uses expression data from CCLE cell lines and highlights genes correlated (or anti-correlated) with specified CT gene. Genes with a correlation coefficient above threshold are colored in red if they are CT genes or in blue, if not.
Arguments
- gene
CT gene selected
- corr_thr
numeric(1)
with default 0.5. Genes with an absolute correlation coefficient (Pearson) higher than this threshold will be highlighted.- values_only
logical(1)
,FALSE
by default. IfTRUE
, the function will return the correlation coefficients with all genes instead of the plot.
Value
A plot where each dots represent the correlation
coefficients (Pearson) between genes and the specified CT gene
(entered as input). Genes with a correlation coefficient above
threshold are colored in red if they are CT genes or in blue,
if not. If values_only = TRUE
, all correlations coefficients are
returned instead.