outlier_level
threshold, with 3 (default) being the highest/strictest
and 1 being the lowest.R/visualize.R
get_leverage_images.Rd
Calculate the leverage images for each outlier that meets the
outlier_level
threshold, with 3 (default) being the highest/strictest
and 1 being the lowest.
get_leverage_images(X_svd, timepoints, const_mask = NULL)
X_svd | A singular value decomposition (list with u, v, and d). |
---|---|
timepoints | The times for which to compute leverage images (rows of U). |
const_mask | Mask for the voxels that were removed. |
A list of three: the mean leverage image for each outlier meeting the thresold, the top leverage image for each outlier, and the indices of the top leverage images.