You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# parse list of columns to exclude from patients list
49
+
exclude_cols_array=exclude_columns.split(",") # split long string by commas
50
+
45
51
##get list of patients
46
-
pats=set(counts.columns)-set(counts.select_dtypes(include='object')) # get patient names from column names, excluding columns were the datatype is a string
52
+
pats=set(counts.columns)-set(counts.select_dtypes(include='object')+exclude_columns) # get patient names from column names, excluding columns were the datatype is a string and any columns in the exclude_columns arg
parser.add_argument('--genome_build', default="https://ftp.ensembl.org/pub/grch37/release-113/gtf/homo_sapiens/Homo_sapiens.GRCh37.87.gtf.gz", help='Link to human genome build')
86
92
parser.add_argument('--gene_col', default="stable_id", help='Name of column with gene names')
93
+
parser.add_argument('--exclude_col', default="stable_id,display_label,description,biotype", help='Name of column with gene names')
0 commit comments