scverse / anndataR

AnnData interoperability in R
https://anndatar.data-intuitive.com
Other
57 stars 8 forks source link

`var_names`/`obs_names` as fixed-size types #172

Open rcannood opened 3 months ago

rcannood commented 3 months ago

At some point, the var_names and obs_names could be something other than strings in Python (See https://github.com/scverse/anndata/issues/777). R data frames can only have characters as rownames, so we'll need to find a workaround.

Originally, we decided to not use the rownames of obs and var in anticipation for the aforementioned feature, but I reverted this in #171 to make the code cleaner / easier to read for now.

rcannood commented 3 months ago

As noted by @lazappi in https://github.com/scverse/anndataR/pull/171#issuecomment-2213120061:

I would probably make a special man page and/or vignette for things we know are different from Python.

I totally agree! If #777 is merged, we should add this to the list of known incompatibilities.