scmorph.io.read#
- scmorph.io.read(filename, **kwargs)[source]#
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 file
- kwargs
Any Other parameters passed to the corresponding functions.
- filename
- Return type:
- Returns:
The read in AnnData object, possibly after conversion.