R/visualization-functions.R
plot_sexcheck_pca.Rd
Principal Component Analysis (PCA) of sex-specific genes. Samples greater than z standard deviations (SDs) from the mean of sample sub-groups identified as outliers.
plot_sexcheck_pca(clean_metadata, count_df, biomart_results, sex_var)
A data frame with sample identifiers as rownames and variables as
factors or numeric as determined by "sageseqr::clean_covariates()"
.
A counts data frame with sample identifiers as column names and gene Ids are rownames.
Output of "sageseqr::get_biomart()"
. Gene Ids are
stored as rownames.
Column name of the sex or gender-specific metadata.