View source: R/visualization-functions.R
plot_sexcheck | R Documentation |
This function plots expression of X and Y marker genes, XIST and UTY respectively, and colors each sample by the sex- or gender-specific labeling from the metadata. This is a handy check to determine if samples were swapped or mislabeled.
plot_sexcheck(clean_metadata, count_df, biomart_results, sex_var)
clean_metadata |
A data frame with sample identifiers as rownames and variables as
factors or numeric as determined by |
count_df |
A counts data frame with sample identifiers as column names and gene Ids are rownames. |
biomart_results |
Output of |
sex_var |
Column name of the sex or gender-specific metadata. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.