Add back chr, start, end of bins missing from cells
add_missing_bins_for_cells.Rd
Often we filter read bins based on various criteria, or tools we use might drop bins of read/state data. This function will put missing bins back into a dataframe for cells.
Arguments
- state_df
the dataframe/tibble to insert the missing bins into
- version
which genome version you are using. Default "hg19", or select "hg38"
- bin_size
size of bins that should be there.
- cell_metadata_cols
vector of columns to carry through to inferred bins
- input_chroms_only
bool. Only insert bins for chromosomes in the input state dataframe. I.e., if you've filtered X or Y, don't add bins for X or Y. Setting to FALSE adds bins for entire genome. Default: TRUE