Skip to content

Commit

Permalink
Updated PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TJMKuijpers committed Jun 2, 2023
1 parent 35d9920 commit 1ab4589
Show file tree
Hide file tree
Showing 7 changed files with 261 additions and 264 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ datatype: LIMIT-VALUE
stable_id: mutational_signature_counts_SBS
profile_name: mutational signature counts SBS
profile_description: profile for count value of mutational signatures, generated using tempoSig
data_filename: data_mutational_signature_count_SBS.txt
data_filename: data_mutational_signature_counts_SBS.txt
show_profile_in_analysis_tab: false
generic_entity_meta_properties: NAME
3 changes: 2 additions & 1 deletion src/pages/patientView/PatientViewPageUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export function retrieveMutationalSignatureMap(
inputMetaData: GenericAssayMeta[]
): MutationalSignatureLabelMap[] {
const mappedData = inputMetaData.map((metaData: GenericAssayMeta) => {
console.log(metaData);
const nameSig: string =
'MUTATION_TYPE' in metaData.genericEntityMetaProperties
? metaData.genericEntityMetaProperties['MUTATION_TYPE']
Expand All @@ -88,6 +89,7 @@ export function retrieveMutationalSignatureMap(
name: mutNameSig,
};
});
console.log(mappedData);
return mappedData;
}

Expand All @@ -113,7 +115,6 @@ export function createMutationalCountsObject(
signatureLabelMap
.filter(obj => obj.stableId === count.stableId)
.map(obj => obj.name)[0] || '';

result.push(mutationalSignatureChartData);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default class MutationalBarChart extends React.Component<
centerOfBoxes[i].props.x +
0.5 * centerOfBoxes[i].props.width
}
y={35}
y={37}
width={this.props.width}
text={item.category}
style={{ fontSize: '10px' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ export function getVersionOptions(versions: string[]) {
}

export function getSampleOption(sample: string) {
console.log({
label: 'Sample ' + sample,
value: sample,
});
return {
label: 'Sample ' + sample,
value: sample,
Expand Down

0 comments on commit 1ab4589

Please sign in to comment.