emr_db.subset {naryn}R Documentation

Defines an ids subset

Description

Defines an ids subset.

Usage

emr_db.subset(src = "", fraction = NULL, complementary = NULL)

Arguments

src

track name or ids table or 'NULL'

fraction

fraction of data to be sampled from 'src' in [0,1] range

complementary

'TRUE' for a complementary subset, otherwise 'FALSE'

Details

'emr_db.subset' creates an ids subset" ("viewport") of data of "fraction * sizeof('src')" size by sampling the ids from 'src'. Once the subset is defined only the ids that are in the subset are used by various functions and iterators. Other ids are ignored.

'src' can be a track name or an ids table. If 'complementary' is 'TRUE' the complementary set of sampled ids is used as a subset.

If 'src' is 'NULL' the current subset is annihilated.

Value

None.

See Also

emr_db.connect, emr_db.subset.ids, emr_db.subset.info


[Package naryn version 2.6.26 Index]