Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
asizemore committed Sep 28, 2023
1 parent 2828137 commit 7f6e877
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand All @@ -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,
}: {
Expand Down Expand Up @@ -101,6 +107,7 @@ function CorrelationAssayMetadataConfigDescriptionComponent({
);
}

// Shows as Step 1 in the full screen visualization page
export function CorrelationAssayMetadataConfiguration(
props: ComputationConfigProps
) {
Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ function BipartiteNetworkViz(props: VisualizationProps<Options>) {
data: cleanedData,
};

//@ts-ignore
const plotNode = (
//@ts-ignore
<BipartiteNetwork {...bipartiteNetworkProps} ref={plotRef} />
);

Expand Down

0 comments on commit 7f6e877

Please sign in to comment.