msmu.io.write_pin
Exports MuData psm object to Percolator input format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mdata
|
MuData
|
MuData object containing the data to export. |
required |
filename
|
str | Path | None
|
Path to the output Percolator input file. If None, the function will return a DataFrame instead of writing to a file. |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame | None
|
A pandas DataFrame in Percolator input format if filename is None, otherwise None. |