Skip to content

Commit

Permalink
make changes suggested in code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jjc2718 committed Aug 3, 2020
1 parent 61adbb6 commit 276f032
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pancancer_utilities/data_utilities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys

import pandas as pd
import pickle as pkl
Expand All @@ -7,9 +8,7 @@

import pancancer_utilities.config as cfg

def load_expression_data(subset_mad_genes=cfg.num_features_raw,
scale_input=False,
verbose=False):
def load_expression_data(scale_input=False, verbose=False):
"""Load and preprocess saved TCGA gene expression data.
Arguments
Expand All @@ -23,7 +22,7 @@ def load_expression_data(subset_mad_genes=cfg.num_features_raw,
rnaseq_df: samples x genes expression dataframe
"""
if verbose:
print('Loading gene expression data...')
print('Loading gene expression data...', file=sys.stderr)

rnaseq_df = pd.read_csv(cfg.rnaseq_data, index_col=0, sep='\t')

Expand Down

0 comments on commit 276f032

Please sign in to comment.