-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create BunisHSPCData #32
Conversation
inst/extdata/manifest.csv
Outdated
@@ -6,6 +6,7 @@ Reference,Taxonomy,Part,Number,Call | |||
@baron2016singlecell,10090,pancreas,1886,BaronPancreasData('mouse') | |||
@bhaduri2020cell,9606,cortical organoids,242349,BhaduriOrganoidData() | |||
@buettner2015computational,10090,embryonic stem cells,288,BuettnerESCData() | |||
@bunis2021haematopoietic,9606,haematopoietic stem and progenitor,???,BunisHSPCData |
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.
Where does the manifest's Number
come from? Is it a cell number or taxonomy item? And if cell number, the unfiltered number?
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.
Just give the number of cells that you get from running BunisHSPCData()
with the default arguments. Note that the last thing is the actual command (it'll get wrapped in backticks when it gets printed in the vignette).
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.
Add some stub tests in longtests/
to make sure that things run with a variety of options; see some of the examples in there for more details.
R/BunisHSPCData.R
Outdated
#' | ||
#' @details | ||
#' Column metadata is recreated from GEO using the author-supplied TSV of per-cell annotations, or retrieved from a processed version of the data shared by authors via figshare. | ||
#' This contains information such as the tissue & sample of origin, age group, likely cell type, and Developmental Stage Scoring. Cevelopmental Stage |
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.
Cevelopmental Stage?
R/BunisHSPCData.R
Outdated
#' This contains information such as the tissue & sample of origin, age group, likely cell type, and Developmental Stage Scoring. Cevelopmental Stage | ||
#' | ||
#' If \code{filtered=TRUE}, only the cells used by the authors in their final analysis are returned. | ||
#' Otherwise, an additional \code{filtered} field will be present in the \code{\link{colData}}, indicating whether the cell was retained by the authors. |
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.
retained
field?
R/BunisHSPCData.R
Outdated
#' Otherwise, an additional \code{filtered} field will be present in the \code{\link{colData}}, indicating whether the cell was retained by the authors. | ||
#' | ||
#' All data are downloaded from ExperimentHub and cached for local re-use. | ||
#' Specific resources can be retrieved by searching for \code{scRNAseq/bacher-tcell}. |
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.
bunis-hspc
R/BunisHSPCData.R
Outdated
#' @author Daniel Bunis | ||
#' | ||
#' @references | ||
#' Bunis et al. 2021 |
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.
See format of other references here.
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.
Shouldda noted that I hadn't finalized the docs text yet, so I was gonna get to this later + likely wouldda caught the others above myself! But noted and I'll fix all of these.
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.
Ah, I thought you had cottoned on to the fact that the best way to get shit past me is to distract me with lots of little things that need fixing!
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.
LOL no, but now that you mention it, I did notice you missed a filtered/retained mistake in the actual code.
@@ -1,7 +1,7 @@ | |||
write.csv(file="../../extdata/2.6.0/metadata-bunis-hspc.csv", | |||
data.frame( | |||
Title = sprintf("Bunis human HSPC %s", c("counts", "colData", "rowData")), | |||
Description = sprintf("%s for the Bunis human haematopoietic stem-progenitor single-cell RNA-seq dataset", | |||
Description = sprintf("%s for the Bunis human haematopoietic stem and progenitor single-cell RNA-seq dataset", |
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.
Note: changing this will need a re-propagation to ExperimentHub, as the manifests there do not update automatically. Compile it to recreate the CSVs and then we'll notify the EHub maintainers that this is altered.
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.
It's not that important really. I'll just revert this.
=/. Now that I've tried actually testing, I seem to get an error with the colData add because the hub coldata is not full-size... I can fix it by changing line 18 of create_sce.R from
to
but I can't imagine that's what you would actually want to happen. |
Probably set
A little different from the other cases, and you'll have to use |
ready to go? |
Looks good to me. |
Addresses #28.
Still need to fill in the citation & add to
longtests/
.