enrichit 0.2.0
Legitimate C++ source code
Source references XOR syntaxuid_wrapper source marker
SHA-256fb2192cc3beca97e08618ac01e28a1ecc4adb93a2b3a5078da60413eb9234107
MaleculeO(Er)
Evidence
1/*
2 * This file is based on the fgsea package (https://github.com/ctlab/fgsea)
3 * Copyright (c) 2016-2024 Alexey Sergushichev
4 *
5 * It has been adapted for the enrichit package.
6 */
7
8#include "gsea_multilevel.h"
9#include <Rcpp.h>
10#include <algorithm>
11#include <numeric>
12#include <cmath>
13#include <iomanip>
14#include <iostream>
15#include <unordered_map>
16#include <Rmath.h>
17
18using namespace std;
⋯4 lines
96:31… es.emplace_back(get<0>(stats[i]), get<1>(stats[i]));
97 }
98
99 uid_wrapper uid(0, sampleSize - startFrom - 1, rng);
100
101 auto gen_new_sample = [&] {
102 int ind = uid() + startFrom;
103 return c …
355:23… s[oldVal] + ranks[newVal];
356 curHash ^= geneHashes[oldVal] ^ geneHashes[newVal];
357 sampleChunks.chunkSum[oldChunkInd] -= ranks[oldVal];
358 sampleChunks.chunkSum[newChunkInd] += r …
516:44… _names[i])] = i;
517 }
518
519 // Calculate ES and group by size
520 struct PathwayInfo {
521 int index;
522 double es;
523 int size;
3+ extend multi-omics integration with pathway-level and topology-level workflows (2026-06-24, Wed)
4 - add `aggregate_enrichment()` for multi-omics Late Fusion at the pathway level by aggregating multiple `enrichResult`/`gseaResult` objects
5 - support correlation-aware p-value aggregation with `method = "brown"` in `aggregate_omics()`
No evidence locations were recorded for this file. Raw result