R/assay-data.R
spread_assay_data.Rd
This is a convenience function, and will try to guess what you mean if you don't explicitly specify which columns to spread and what to call them. With that mind set, if we find a cpm and symbol column, we will use them because those are the thing you will likely want to use for exploratory data analysis if they're in the incoming dataset. If those columns aren't found, then we'll pick the feature_id and count column.
spread_assay_data( x, assay_name, key = c("name", "feature_id"), value = c("cpm", "value", "count"), .fds = fds(x) )
x | facile expression result from |
---|---|
key | the column from the long-form |
value | the value column to spread into the |
.fds | the |
a more stout x
with the expression values spread across
columns.