wcd | R Documentation |
Calculate weighted co-publication distance given a list of PubMed IDs (PMIDs) and an annotation file containing GeneID and PMID links.
wcd(pmids, annot, year = as.integer(format(Sys.Date(), "%Y")),
weighted = TRUE)
pmids |
A one-column tibble containing the total list of PMID accessions in the topic under consideration. A test file is provided in the package (test_pmids) for format requirement. |
annot |
A tibble of GeneID x PMID relationships, cite counts, and pub year. A test file containing 100,000 relationships is provided in the package (test_annotation) for format requirement. |
year |
integer() An integer specifying the cutoff year. DEFAULT is now |
weighted |
logical() Whether to calculate weighted co-publication factor (T) or non-weighted co-publication factor (F). DEFAULT is T |
wcd(pmids = test_pmids, annot = test_annotation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.