View source: R/gpt_annot_melt.R
gpt_annot_melt | R Documentation |
Merge the annotations from GPT with the weighted annotations and melt the resulting data.table such that each annotation metric is a separate row.
gpt_annot_melt(
res_coded,
id.vars = grep("justification|phenotype|hpo_name|hpo_id|pheno_count",
names(res_coded$annot), value = TRUE)
)
res_coded |
Result from gpt_annot_codify. |
id.vars |
Columns to use as ID variables when merging. |
A melted data.table with the annotations.
res_coded <- gpt_annot_codify()
annot_melt <- gpt_annot_melt(res_coded)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.