bupid-subset: Subset BUPID results.

Description Usage Arguments Details Value Examples

Description

Return a subset of the BUPID results

Usage

1
2
## S4 method for signature 'bupid'
subset(x, subset, select, drop = FALSE)

Arguments

x

object to be subsetted

subset

logical expression indicating elements or rows to keep. Valid elements are found with names(head(x,select))

select

expression, indicating the return type

drop

drop unnecessary dimensions

Details

Filter the results and return items matching the provided conditions.

Value

Returns the subset

Examples

1
2
3
4
5
6
7
## Not run: 
server <- "http://bupid.bumc.bu.edu/cgi-bin/get_results.cgi"
infile <- "key=WBNqTswT5DPg3aDO&ID=320&date=20150309"
data <- read.bupid(url=paste(server,infile,sep="?"))
subset(data,name=="HBB","fragment")

## End(Not run)

heckendorfc/BTDR documentation built on May 17, 2019, 3:20 p.m.