pypath.inputs.cytosig.cytosig_df§
- pypath.inputs.cytosig.cytosig_df(long: bool = False) DataFrame | Series [source]§
CytoSig core data is a matrix of cytokines vs. targets. Here this matrix is returned as a pandas data frame, either in a wide or long format.
- Args
long: Convert the data frame to long format.
- Returns
The original matrix format data frame (rows are signature genes, columns are cytokines) by default; if long is True, a series with multi index is returned.