Subset mem multienrichment object
Usage
subset_mem(
mem,
includeSets = NULL,
includeGenes = NULL,
min_gene_ct = 1,
min_set_ct = 1,
p_cutoff = NULL,
verbose = FALSE,
...
)Arguments
- mem
listobject as returned bymultiEnrichMap()- includeSets
charactervector with specific sets to retain, all other sets will be dropped.- includeGenes
charactervector with specific genes to retain, all other genes will be dropped.- min_gene_ct
numericfilter applied to genes representing the minimum number of occurrences across sets in themem$memIMincidence matrix. The default valuemin_gene_ct=1effectively requires a gene to be present in at least one set, which is useful after filtering byincludeSets.- min_set_ct
numericfilter applied to sets representing the minimum number of occurrences of genes in themem$memIMincidence matrix. The default valuemin_set_ct=1effectively requires a set to contain at least one gene.- p_cutoff
numericoptional enrichment P-value filter to apply tomem$enrichIMenrichment P-values. It is intended to apply optionally higher stringency by using a lowerp_cutoffthan used bymultiEnrichMap().- verbose
logicalindicating whether to print verbose output.- ...
additional arguments are ignored.
Details
This function is intended to subset the incidence matrix data contained
in a mem object by heuristics. It does not update other data in
the mem object such as enrichList and multiEnrichDF, nor
any igraph objects. It is intended mainly to subset by sets (pathways),
or genes, then also subset other corresponding incidence matrix
data consistently.
See also
Other jam utility functions:
ashape(),
avg_angles(),
avg_colors_by_list(),
bulk_cnet_adjustments(),
call_fn_ellipsis_deprecated(),
cell_fun_bivariate(),
collapse_mem_clusters(),
colorRamp2D(),
deconcat_df2(),
display_colorRamp2D(),
enrichList2geneHitList(),
filter_mem_genes(),
filter_mem_sets(),
find_colname(),
find_enrich_colnames(),
get_hull_data(),
get_igraph_layout(),
gsubs_remove(),
handle_igraph_param_list(),
isColorBlank(),
make_legend_bivariate(),
make_point_hull(),
mem_find_overlap(),
order_colors(),
rank_mem_clusters(),
rotate_coordinates(),
subgraph_jam(),
summarize_node_spacing(),
xyAngle()