Samples that are z standard deviations (SDs) from the mean of principal components (PC) 1 and 2 are identified as outliers.
identify_outliers(filtered_counts, clean_metadata, color, shape, size, z = 4)
A counts data frame with genes removed that have low expression.
A data frame with sample identifiers as rownames and variables as
factors or numeric as determined by "sageseqr::clean_covariates()"
.
Discrete variable in `clean_metadata` differentiated by color.
Discrete variable in `clean_metadata` differentiated by shape.
Continuous variable in `clean_metadata` differentiated by size.
Allowable number of standard deviations (SDs) from the mean. Defaults to 4.