Given a DGE analysis output, this outputs a subset of the analysis with the genes laying only on the sex chromosomes (X/Y)

sex_chromosome_DEGs(all_genes, ensemblID_colname = "name")

Arguments

all_genes

a list whose elements are DGE analysis output for each celltype in a dataset (e.g. as returned by "DGE_analysis.R", but subsetted to "celltype_all_genes")

ensemblID_colname

the column name within each DGE analysis output in all_genes, which contains the ensembl IDs for each gene

Value

the DGE analysis output restricted to just the genes that lay on the sex chromosomes