msmu.tl.corr
Compute the correlation matrix for the specified modality in a MuData object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mdata
|
MuData
|
|
required |
modality
|
str
|
The modality to compute correlations on. |
required |
layer
|
str | None
|
Layer to use for quantification aggregation. If |
None
|
method
|
Literal['pearson', 'spearman', 'kendall']
|
Correlation method to use: |
'pearson'
|
Returns:
| Type | Description |
|---|---|
MuData
|
The input |
MuData
|
|