helper function to calculate proportion that a gene is expressed in each cell type in a sample

individual_geneset_proportion_celltype(data, this_geneset)

Arguments

data

Data to run the calculation on.

this_geneset

geneset to run analysis on

Value

a data frame containing the proportion a gene is expressed in each cell type in a sample