But, it does not seem to require it from the data format specification.
data: A Seurat object containing celltype and sample label.
helper_pathway_prop has geneset_prop$condition <- data$condition[match(geneset_prop$sample, data$sample)] which can lead to Error : Cannot find 'condition' in this Seurat object if the condition is not present.