From 7f6e8771f4650ca1f3fb49fc02fc1ca75402b471 Mon Sep 17 00:00:00 2001 From: asizemore Date: Thu, 28 Sep 2023 14:43:23 -0400 Subject: [PATCH] clean --- .../plugins/correlationAssayMetadata.tsx | 14 +++++++++----- .../BipartiteNetworkVisualization.tsx | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/libs/eda/src/lib/core/components/computations/plugins/correlationAssayMetadata.tsx b/packages/libs/eda/src/lib/core/components/computations/plugins/correlationAssayMetadata.tsx index 489a168b99..d90ad47e96 100644 --- a/packages/libs/eda/src/lib/core/components/computations/plugins/correlationAssayMetadata.tsx +++ b/packages/libs/eda/src/lib/core/components/computations/plugins/correlationAssayMetadata.tsx @@ -18,7 +18,13 @@ const cx = makeClassNameHelper('AppStepConfigurationContainer'); /** * Correlation * - * info... + * The Correlation Assay vs Metadata app takes in a user-selected collection (ex. Species) and + * runs a correlation of that data against all appropriate metadata in the study. The result is + * a correlation coefficient and significance value for each (assay member, metadata variable) pair. + * + * Importantly, this is the first of a few correlation-type apps that are coming along in the near future. + * There will also be an Assay vs Assay app and a Metadata vs Metadata correlation app. It's possible that + * when those roll out we'll be able to do a little refactoring to make the code a bit nicer. */ export type CorrelationAssayMetadataConfig = t.TypeOf< @@ -42,7 +48,7 @@ export const plugin: ComputationPlugin = { }, }; -// Yikes what a name +// Renders on the thumbnail page to give a summary of the app instance function CorrelationAssayMetadataConfigDescriptionComponent({ computation, }: { @@ -101,6 +107,7 @@ function CorrelationAssayMetadataConfigDescriptionComponent({ ); } +// Shows as Step 1 in the full screen visualization page export function CorrelationAssayMetadataConfiguration( props: ComputationConfigProps ) { @@ -111,9 +118,6 @@ export function CorrelationAssayMetadataConfiguration( visualizationId, } = props; - console.log(computation); - console.log(computationAppOverview); - const configuration = computation.descriptor .configuration as CorrelationAssayMetadataConfig; const studyMetadata = useStudyMetadata(); diff --git a/packages/libs/eda/src/lib/core/components/visualizations/implementations/BipartiteNetworkVisualization.tsx b/packages/libs/eda/src/lib/core/components/visualizations/implementations/BipartiteNetworkVisualization.tsx index 7abbc9b4b5..789133c0f7 100755 --- a/packages/libs/eda/src/lib/core/components/visualizations/implementations/BipartiteNetworkVisualization.tsx +++ b/packages/libs/eda/src/lib/core/components/visualizations/implementations/BipartiteNetworkVisualization.tsx @@ -101,8 +101,8 @@ function BipartiteNetworkViz(props: VisualizationProps) { data: cleanedData, }; - //@ts-ignore const plotNode = ( + //@ts-ignore );