besca.get_raw¶
- besca.get_raw(adata)[source]¶
Extract the AnnData object saved in adata.raw
Returns the AnnData object saved in adata.raw as a normal AnnData object with which you can continue working. This includes all of the additional annotation.
- Parameters:
adata (AnnData) – complete AnnData object
- Returns:
returns the AnnData object contained in .raw with all relevant annotation
- Return type:
AnnData
Examples
>>> import besca as bc >>> adata = bc.datasets.simulated_pbmc3k_processed() >>> adata_raw = bc.get_raw(adata)