egt_plot_results(ora_result)
ℹ Use Default P-adjust cut-off 0.05. You can pass `P.adj=xxx` arugument to filter.
! You are drawing origin results, for better result you can re-cluster it by egt_recluster_analysis()
Because of the messy result table is hardly to read, EnrichGT
help you convert it into pretty gt
HTML tables. This only supports the re-enriched results.
You can simple input the object name of re-enriched object or fused object, to show the table.
This just shows the second slot inside the EnrichGT_obj
object. The second slot - gt_object
is a pure object of gt
package, you can use any function on it, like:
For further usage of gt package, please refer to https://gt.rstudio.com/articles/gt.html.
See re-enrichment example for further demo.
HTML gt
table satisfied most of things, but for others. Though we don’t want this package become complex (i.e., you can simple draw your figure using ggplot2 for enriched tables by yourself.) But we still provide limited figure ploting functions.
The Dot Plot provide basic viewing of results. So it supports both simple enrichment result data.frame
and re-enriched egt_object
.
You can adjust this figure by these params:
ntop
: Show top N in each cluster. In default, for origin enriched result, showing top 15; for re-clustered object, showing top 5 in each cluster.showIDs
: bool, show pathway IDs or not. Default is FALSEmax_len_descript
: the label format length, default as 40.P.adj
: If pass an origin data.frame from original enriched result, you can specify the P-adjust value cut off. If is null, default is 0.05. When passing EnrichGT_obj
, this filter is previously done by egt_recluster_analysis
.low.col
: the color for the lowesthi.col
: the color for the highestUMAP plot only supports re-enriched egt_object
, to show the dimensionality reduction view of enriched results.
A word frequency matrix represents the frequency of words or tokens across different documents or text samples. Each row corresponds to a document, and each column represents a word or token, with the cell values indicating the frequency of the respective word in that document.However, high-dimensional data like word frequency matrices can be challenging to interpret directly. To make such data easier to analyze, we can reduce its dimensionality and visualize the patterns or clusters in a 2D or 3D space. UMAP (Uniform Manifold Approximation and Projection) is a powerful, non-linear dimensionality reduction technique widely used for this purpose.