editPMIDs: edit PMIDs

Description

add two sets of PMIDs together, or exclude one set PMIDs from another set of PMIDs.

Usage

1
editPMIDs(x, y, method = c("add", "exclude"))

Arguments

x

output of getPMIDs, or a set of PMIDs

y

output of getPMIDs, or a set of PMIDs

method

can be 'add' (default) or 'exclude'. see details.

Details

when method is 'add', PMIDs in 'x' and 'y' will be combined. when method is 'exclude', PMIDs in 'y' will be excluded from 'x'.

See Also

getPMIDs

Examples

1
2
3
4
5
6
7
8
9
# pmid1=getPMIDs(author="Yan-Hui Fan",dFrom=2007,dTo=2013,n=10)
# rm1="22698742"
# pmids1=editPMIDs(x=pmid1,y=rm1,method="exclude")

# pmid2=getPMIDs(author="Yanhui Fan",dFrom=2007,dTo=2013,n=10)
# rm2="20576513"
# pmids2=editPMIDs(x=pmid2,y=rm2,method="exclude")

# pmids=editPMIDs(x=pmids1,y=pmids2,method="add")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.