scanpy_plus.get_from_raw module¶
- scanpy_plus.get_from_raw.get_from_raw(data)¶
Does anndata.raw.to_adata() in a more streamlined way. The to_data() method does not carry all the metadata such as uns, varm etc This one faithfully keeps the genes the same and also adds in uns
Requires: anndata.raw to be set
Returns: anndata
Example: get_from_raw(adata_scaled)