infer missing data using the upstream neighbour bin
fill_state_from_neighbours.Rd
This function fills in NAs of columns with the information from an upstream bin. The exception are bins missing from the start of chromosomes, which are filled by their downstream neighbour if there is nothing upstream.
Usage
fill_state_from_neighbours(state_df, cols_to_fill = c("state"))