export_cp10k

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

Export raw cp10k 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