Open cvanderaa opened 1 year ago
How would we want to name the new assays? Postfixing filtered
and NA
after the original names, unless a vector of new names is provided?
Hmm good point. I was thinking let's just do the same as in the other functions. For example, the name
defaults to "logAssay"
for logTransform()
. But this actually would lead to an error if length(i) > 1
. I like the idea of postfixing, but shouldn't we then to the same for all functions that add assays?
Yes, consistent naming convention should be a priority.
What would you prefer - should be use pre/postfixing as default or only support explicit names? If pre/postfixing, then we need a new issue :-)
After thinking, here are my arguments:
In favor of imposing names:
Run1_NA_log_filtered_norm_imp_aggregated
(imagine doing this for the 20 steps of the SCoPE2 workflow)name
in step 1, you'll often need to provide i
in step 2.In favor of automatic naming:
Conclusion: I would go for option 1, impose explicit names
Our paradigm for QFeatures is that no data is removed or changed, it is only added. However, there are some functions that replace the assays. Here is a list: