Description Usage Arguments Details Value Examples
Calculate similarity between two MeSH heading sets.
1 | headingSetSim(headingSet1, headingSet2, method="SP", frame="node", env=NULL)
|
headingSet1, headingSet2 |
two lists of headings |
method |
similarity measurment method, see Details for available methods. |
frame |
available options are node and heading, decide whether using node-based or heading-based methods. |
env |
the dataset to use. |
Available methods: SP: Shortest Path method, WL: Weighted Link method, WP: Wu and Palmer's method, LC: Leacock and Chodorow's method, Li: Li's method, Lord: Lord's method, Resnik: Resnik's method, Lin: Lin's method, JC: Jiang and Conrath's method.
Semantic similarity between two MeSH heading sets, whose value is between 0 and 1.
1 2 3 | headingSet1<-c("Lumbosacral Region", "Body Regions")
headingSet2<-c("Body Regions", "Abdomen", "Abdominal Cavity")
headingSetSim(headingSet1,headingSet2,'SP','node')
|
[1] 0.9272727
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.