Downstream#
|
Add the SwiftCNV output matrix to an anndata.AnnData object along with matrix indices (cell_order and gene_order). |
|
Load the outputs of SwiftCNV written in a directory. |
|
Summarise the values in the specified obsm matrix by cell attributes (sample by default). |
|
Summarise the values of the specified obsm matrix by gene attributes (arm by default). |
|
Calculate CNV burden as the mean of the CNV scores squared. |
|
Get the genes corresponding to a specific chromosome arm from an anndata.AnnData object. |
|
Get correlation scores to copy number gains retreived from https://doi.org/10.1038/s41586-023-06054-z by arm by cancer type. |