Description Usage Arguments Value
Analyses a decon result's residuals to identify poorly-fit genes and flag them for removal. Rule: flag anything with
1 | flagOutliers(Y, yhat, resids, wts, resid_thresh = 3)
|
Y |
p-length expression vector or p * N expression matrix - the actual (linear-scale) data |
yhat |
Expectation of Y given the decon fit |
resids |
Log2-scale residuals of Y vs. yhat (log2(pmax(Y, 0.5)) - log2(yhat)) |
wts |
Matrix of data point weights, aligned to dimensions of resids |
resid_thresh |
A scalar, sets a threshold on how extreme individual data points' values can be (in log2 units) before getting flagged as outliers and set to NA. |
a vector of names of poorly-fit genes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.