-
Notifications
You must be signed in to change notification settings - Fork 7
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
accessor for "sets/experiments" for easier piping #197
Comments
Thank you @tavareshugo for these thoughts:
In the light of this, and especially point 3, given that 2 above works, and that I don't mind using |
Ping @cvanderaa @samgregoire |
What I don't like with experiment(s) is that it is misleading or wrong. The different To me, calling them experiments gives the idea that they don't have much to do with each other, that they aren't part of the same design. And the concept of experimental design is one that isn't highlighted enough. May be we could call them acquisition? (I'm not suggesting new accessors |
(Aquisition is more of a joke, here... ) |
Yes, I see your point. In any case, renaming from "assays" to something else will be great. |
My suggestion would be to stick with set, given that it's what we used here. This is something that will need to be fixed in the documentation. We could consider having a Note that this works with > feat3 %>% `[[`("psms2")
class: SummarizedExperiment
dim: 8 2
metadata(0):
assays(1): ''
rownames(8): PSM3 PSM4 ... PSM9 PSM10
rowData names(5): Sequence Protein Var location pval
colnames(2): Sample3 Sample4
colData names(0): |
Related to #194
If you decide to use "sets" to refer to experiments within QFeatures, would you then consider creating something like a
sets()
function (in effect just a synonym forexperiments()
)?I'm coming from a teaching perspective. I was thinking that if we're explaining that you can have different "sets" within a QFeatures object, then it might be easier to remember that you can get a list of them using the
sets()
function.It might even be nice to have a
set()
function (analogous to how there isassays()
andassay()
) as it would allow the piping fans to do something like:rather than
qf[["psms_filtered"]] |> etc...
Similarly, I guess there could be a
setNames()
function (again, analogous toassayNames()
).Just an idea, I'm not super familiar with
QFeatures
(orMultiAssayExperiments
for that matter), so maybe this would cause confusion/redundancy with existing accessors.The text was updated successfully, but these errors were encountered: