-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion from & to SingleCellExperiment #212
Conversation
R/SingleCellExperiment.R
Outdated
col_data_mapping = NULL, | ||
row_data_mapping = NULL, | ||
reduction_mapping = NULL, | ||
colPairs_mapping = NULL, # nolint | ||
rowPairs_mapping = NULL, # nolint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is col_data_mapping
snakecase but colPairs_mapping
camelcase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, no reason and we should be consistent.
vignettes/singlecellexperiment.Rmd
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this vignette be renamed to detailed_singlecellexperiment
or something like this?
Also, could you add an entry to _pkgdown.yml
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep!
vignettes/singlecellexperiment.Rmd
Outdated
```{r construct_anndata} | ||
library(anndataR) | ||
library(SingleCellExperiment) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```{r construct_anndata} | |
library(anndataR) | |
library(SingleCellExperiment) | |
```{r deps, message=FALSE, warning=FALSE} | |
library(anndataR) | |
library(SingleCellExperiment) | |
``` | |
We first generate a sample dataset to work with. | |
```{r construct_anndata} |
Minor comments, otherwise LGTM! |
Provides modular conversion to & from SingleCellExperiment.
Adds vignette explaining the mapping in detail.
Aims to follow some of the mapping of the Seurat conversion.