Description Usage Arguments Value
View source: R/helper_functions.R
It will return the probe with the highest summary measure (IQR, mean, etc.)
1 2 3 4 5 6 7 | pick_probes(
expmat,
fac,
method = c("IQR", "mad", "mean", "median"),
returnProbes = FALSE,
...
)
|
expmat |
matrix whose rows can partly be summarized using a factor |
fac |
factor used for summarizing rows |
method |
method of summary, defaults to IQR |
returnProbes |
logical (default = FALSE), whether to return the actual probe IDs rather than a subset matrix, useful for some cases |
... |
arguments passed to summary functions (typically na.rm) |
new matrix where rownames correspond to factor level names (e.g. gene symbols)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.