cellgeni / sceasy

A package to help convert different single-cell data formats to each other
GNU General Public License v3.0
363 stars 53 forks source link

Fix dimensions of raw layer when needed (anndata2seurat) #27

Closed pablo-gar closed 3 years ago

pablo-gar commented 3 years ago

[This was done on a dev branch and unwanted commits were included, therefore it was closed]

This is to address @nh3 https://github.com/cellgeni/sceasy/pull/25#issuecomment-783803808

When raw.X and X have different number of genes and main_layer=['data'|'scaled_data'], it resizes them to have the same number of genes in anndata2seurat.