samp_atts_by_study: obtain sample attributes for a study.

Description Usage Arguments Note Examples

Description

obtain sample attributes for a study.

Usage

1
samp_atts_by_study(srp = "SRP082656", size = 500, cursor = NULL, ...)

Arguments

srp

character(1) SRP tag for a study in NCBI SRA

size

numeric(1) maximum number of records to return

cursor

character(1) the value of the cursor returned in a previous call; see note.

...

not currently used

Note

If the number of records available in query response exceeds the value of size, the returned tibble will have an attribute 'cursor' which can be retrieved and used in subsequent calls to this function.

If size is zero, a list is returned with information on the number of records available.

Examples

1
2
3
4
t1 = samp_atts_by_study(size=10)
t1
attr(t1, "cursor")
samp_atts_by_study(size=0)

vjcitn/md4mg documentation built on Jan. 1, 2021, 12:41 p.m.