Skip to content

Commit

Permalink
Alias some fields
Browse files Browse the repository at this point in the history
  • Loading branch information
zwright committed Dec 11, 2023
1 parent 2cf6a87 commit 3b1c261
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/components/Plots/LMDDotPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class LMDDotPlot extends Component {

if (data) {
resultArr.forEach((row) => {
xValues.push(row.segment ? row.segment : row.region);
xValues.push(row.segment);
yValues.push(this.abbreviate(row.tissueType).toUpperCase());
bubbles.push(row.pValLog10 ? row.pValLog10 : row.adjPVal);
bubbles.push(row.pValLog10);
colors.push(row.foldChange);
});
plotObj = {
Expand Down
20 changes: 10 additions & 10 deletions src/helpers/ApolloClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ export const fetchRegionalProteomics = async (geneSymbol) => {
numPeptides
numUniquePeptides
comparison
region
segment: region
foldChange
adjPVal
pValLog10: adjPVal
tissueType
sampleCount
}
Expand All @@ -356,9 +356,9 @@ export const fetchRegionalProteomics = async (geneSymbol) => {
numPeptides
numUniquePeptides
comparison
region
segment: region
foldChange
adjPVal
pValLog10: adjPVal
tissueType
sampleCount
}
Expand All @@ -372,9 +372,9 @@ export const fetchRegionalProteomics = async (geneSymbol) => {
numPeptides
numUniquePeptides
comparison
region
segment: region
foldChange
adjPVal
pValLog10: adjPVal
tissueType
sampleCount
}
Expand All @@ -388,9 +388,9 @@ export const fetchRegionalProteomics = async (geneSymbol) => {
numPeptides
numUniquePeptides
comparison
region
segment: region
foldChange
adjPVal
pValLog10: adjPVal
tissueType
sampleCount
}
Expand All @@ -404,9 +404,9 @@ export const fetchRegionalProteomics = async (geneSymbol) => {
numPeptides
numUniquePeptides
comparison
region
segment: region
foldChange
adjPVal
pValLog10: adjPVal
tissueType
sampleCount
}
Expand Down

0 comments on commit 3b1c261

Please sign in to comment.