fillZeros: Fill missing position with zeros

View source: R/readFiles.R

fillZerosR Documentation

Fill missing position with zeros

Description

Fill missing position with zeros

Usage

fillZeros(pos, data, fillValue = 0)

Arguments

pos

a vector integer position where any missing integers will be filled in

data

a data.frame of data with missing rows to be filled with zeros

fillValue

value to fill in missing data with

Value

a 2 element list with a vector of positions and a data.frame of filled data

Examples

fillZeros(c(1:3,6:7,9),data.frame('count'=1:6))

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.