Combined genetic support is composed of direct support
- (from GWAS associations near the gene) and indirect support
- (membership in gene sets with genetic support).
+ (from GWAS associations near the gene) and indirect
+ support (membership in gene sets with genetic support).
Units are log-odds of probability.
@@ -146,11 +151,11 @@
Gene sets that affect genetic support
-
- Gene sets affect the log-odds of the probability
- that a gene is involved in a trait. Effect sizes are
- calculated for the gene set in isolation (marginal)
- and in a joint model with all gene sets together (joint).
+
+ Gene sets affect the log-odds of the probability that a
+ gene is involved in a trait. Effect sizes are calculated
+ for the gene set in isolation (marginal) and in a joint
+ model with all gene sets together (joint).
- Mechanisms are determined by latent factorization
- of the membership matrix of significant genes and gene sets.
+ Mechanisms are determined by latent factorization of the
+ membership matrix of significant genes and gene sets.
P-value (<=)
-
+ v-model.lazy="$parent.heatmapMaxP"
+ />
+ >
-
-
+
+
diff --git a/src/views/PIGEAN/Phenotype/main.js b/src/views/PIGEAN/Phenotype/main.js
index 971aebdd7..56fcc5b24 100644
--- a/src/views/PIGEAN/Phenotype/main.js
+++ b/src/views/PIGEAN/Phenotype/main.js
@@ -24,6 +24,7 @@ import FilterEnumeration from "@/components/criterion/FilterEnumeration.vue";
import FilterGreaterLess from "@/components/criterion/FilterGreaterLess.vue";
import FilterPValue from "@/components/criterion/FilterPValue.vue";
import TooltipDocumentation from "@/components/TooltipDocumentation.vue";
+import NetworkGraph from "@/components/NetworkGraph.vue";
import { pageMixin } from "@/mixins/pageMixin.js";
new Vue({
store,
@@ -42,6 +43,7 @@ new Vue({
Heatmap,
ResearchHeatmap,
FilterPValue,
+ NetworkGraph,
},
mixins: [pageMixin],
data() {
@@ -415,8 +417,8 @@ new Vue({
let data = structuredClone(originalData);
let mechanisms = this.mechanismMap;
for (let i = 0; i < data.length; i++) {
- let label = mechanisms[data[i].factor].label;
- let score = mechanisms[data[i].factor].score;
+ let label = mechanisms[data[i].factor].label || "";
+ let score = mechanisms[data[i].factor].score || "";
data[i].mechanism = `${score}___${label}`;
}
return data;
diff --git a/vue.config.js b/vue.config.js
index 86cfb0fba..e03af7b54 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -378,7 +378,6 @@ module.exports = {
});
// add the transform rule for bioindex
- // Helen 2021-06-17
config.module.rules.push({
test: /bioIndexUtils\.js$/,
loader: "string-replace-loader",
@@ -389,6 +388,23 @@ module.exports = {
},
});
+ // Add the rule for handling .js files with babel-loader
+ config.module.rules.push({
+ test: /\.js$/,
+ include: [/node_modules\/vis-network/, /node_modules\/vis-data/],
+ use: {
+ loader: "babel-loader",
+ options: {
+ presets: ["@babel/preset-env"],
+ plugins: ["@babel/plugin-transform-runtime"],
+ },
+ },
+ });
+ config.resolve.alias = {
+ ...config.resolve.alias,
+ "vis-network": "vis-network/standalone/umd/vis-network.min.js",
+ "vis-data": "vis-data/standalone/umd/vis-data.min.js",
+ };
// create inline maps for dev builds
if (process.env.NODE_ENV !== "production") {
//config.devtool = "inline-source-map";