collapseAt | R Documentation |
Collapse a SummarizedExperiment-like object over a GRanges
collapseAt(
x,
y,
how = c("medians", "means"),
minprobes = 2,
imp = TRUE,
obj = FALSE
)
x |
anything descended from a SummarizedExperiment |
y |
regions to summarize over, as a GRanges |
how |
medians or means? (medians) |
minprobes |
minimum probes to summarize over (1) |
imp |
impute any remaining NAs? (FALSE) |
obj |
return an object resembling |
No imputation is performed and only unique ranges are summarized. If you want to disjoin ranges, do it before running this function. The function just takes whatever is in assays(x)[1] and summarizes that.
an object with same colData but with new rowRanges & assays
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.