python/pymethylprocess/utils.py
def counts(input_pkl,key):
    """Return categorical breakdown of phenotype column."""
    if input_pkl.endswith('.pkl'):
        MethylationArray.from_pickle(input_pkl).categorical_breakdown(key)
    else:
        for input_pkl in glob.glob(join(input_pkl,'*.pkl')):
            print(input_pkl)
            MethylationArray.from_pickle(input_pkl).categorical_breakdown(key)
Return categorical breakdown of phenotype column.
Return categorical breakdown of phenotype column.
Return categorical breakdown of phenotype column .
def counts(input_pkl,key):
    if input_pkl.endswith('.pkl'):
        MethylationArray.from_pickle(input_pkl).categorical_breakdown(key)
    else:
        for input_pkl in glob.glob(join(input_pkl,'*.pkl')):
            print(input_pkl)
            MethylationArray.from_pickle(input_pkl).categorical_breakdown(key)
def counts ( input_pkl , key ) : if input_pkl . endswith ( '.pkl' ) : MethylationArray . from_pickle ( input_pkl ) . categorical_breakdown ( key ) else : for input_pkl in glob . glob ( join ( input_pkl , '*.pkl' ) ) : print ( input_pkl ) MethylationArray . from_pickle ( input_pkl ) . categorical_breakdown ( key )
Return categorical breakdown of phenotype column.
Return categorical breakdown of phenotype column .
"""Return categorical breakdown of phenotype column."""
input_pkl
key