scmorph.io.read#
- scmorph.io.read(filename, **kwargs)#
Read csv, h5ad or sql files.
This function wraps
read_cellprofiler_csv(),read_sql()andread_h5ad()and uses to appropriate one depending on file ending. For details, see the respective functions.- Parameters:
filename (
str) – Path to .csv or h5ad filekwargs (
Any) – Other parameters passed to the corresponding functions.
- Return type:
- Returns:
The read in AnnData object, possibly after conversion.