Learn R Programming

BatchMap (version 1.0.2.0)

create.data.bins: New dataset based on bins

Description

Creates a new dataset based on onemap.bin object

Usage

create.data.bins(input.obj, bins)

Arguments

input.obj

an object of class onemap.

bins

an object of class onemap.bin.

Value

an object of class onemap.

Details

Given a onemap.bin object, creates a new data set where the redundant markers are collapsed into bins and represented by the marker with the lower amount of missing data among those on the bin.

See Also

find.bins

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
  load(url("https://github.com/mmollina/data/raw/master/fake_big_data_f2.RData"))
  fake.big.data.f2
  (bins <- find.bins(fake.big.data.f2, exact=FALSE))
  (new.data <- create.data.bins(fake.big.data.f2, bins))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab