General Utilities¶
Arguments¶
Combine results¶
- combine_results.combine_results()[source]¶
Takes nested array results of genes, mRNA, proteins, and time values and concatentates them into a single dataframe. :param - model: model object :param - xoutS_all: array of species values :type - xoutS_all: np.ndarray :param - xoutG_all: array of gene values :type - xoutG_all: np.ndarray :param - toutS_all: array of time values :type - toutS_all: np.ndarray
- Output:
pd.DataFrame: dataframe of concatenated results
Data handling¶
Files handling¶
- files_handling.append_subfolder()[source]¶
Append a subfolder to a folder path
- Parameters:
folder_path – The folder path.
subfolder_name – The subfolder name.
- Returns:
The subfolder’s path.
- files_handling.convert_excel_to_tsv()[source]¶
Convert an Excel file to TSV (SPARCED’s standard input format)
This function creates a new .txt file at the same location than the passed Excel file.
Warning
This is some old code written four years ago, it hasn’t been tested since.
- Parameters:
f_excel – The Excel sheet path.
- Returns:
Nothing.