Skip to content

Commit

Permalink
Merge pull request #448 from KPMP/RP_Fix
Browse files Browse the repository at this point in the history
Alias some fields
  • Loading branch information
zwright authored Dec 11, 2023
2 parents 2cf6a87 + 3b1c261 commit 2f3667f
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 2f3667f

Please sign in to comment.