filter_gene_data.RdFilter gene data based on annotations, genes, and groups supplied with group_order.
filter_gene_data(
data,
genes,
anno,
group_cols,
group_order = NULL,
sample_key_column = "sample_name"
)a data.frame with gene expression data and a sample_name
a vector of genes to plot
a data.frame of sample annotations
a group_cols list generated by group_columns()
a set of group_ids to use for the plot. Default is NULL, which ignores filtering on this parameter.
the name of the key column for sample identification. Default is "sample_name"
a data.frame of data filtered based on genes, the sample_names in anno, and (if supplied) the groups in group_order.