going through functions and script for interactive plots

This commit is contained in:
Tanushree Tunstall 2022-01-12 17:58:16 +00:00
parent 1f266c4cb8
commit 3f7bc908ec
7 changed files with 83 additions and 95 deletions

View file

@ -21,7 +21,7 @@
# 1) large combined df including NAs for AF, OR,etc
# Dim: same no. of rows as gene associated meta_data_with_AFandOR
# 2) small combined df including NAs for AF, OR, etc.
# Dim: same as mcsm data
# Dim: same as mcsm data or foldX
# 3) large combined df excluding NAs
# Dim: dim(#1) - na_count_df2
# 4) small combined df excluding NAs
@ -31,10 +31,13 @@
# 6) LIGAND small combined df excluding NAs
# Dim: dim()
#==========================================================
#lig_dist_colname = 'ligand_distance' or global var LigDist_colname
#lig_dist_cutoff = 10 or global var LigDist_cutoff
combining_dfs_plotting <- function( my_df_u
, gene_metadata
, lig_dist_colname = 'ligand_distance'
, lig_dist_cutoff = 10){
, lig_dist_colname = ''
, lig_dist_cutoff = ''){
# counting NAs in AF, OR cols
# or_mychisq