export_regressedOut

besca.st.export_regressedOut(adata, basepath)[source]

Export regressedOut to FAIR format for loading into database

wrapper function for X_to_mtx with correct folder structure for loading into database.

Parameters:
  • adata (ÀnnData) – AnnData object that is to be exported

  • basepath (str) – root path to the Analysis folder (i.e. ../analyzed/<ANALYSIS_NAME>)

Returns:

writes to file

Return type:

None