cbind_pos: This function adds an index and a pos column to dataframes

View source: R/cbind_pos.R

cbind_posR Documentation

This function adds an index and a pos column to dataframes

Description

This function adds an index and a pos column to dataframes

Usage

cbind_pos(input_df, position_vec)

Arguments

input_df

the dataframe which the user wants to append index and pos columns to

position_vec

the vector of positions which will be appended to the dataframe

Value

output_df the dataframe with two new columns at the beginning, index and pos, as well as the original columns


mccoy-lab/rhapsodi documentation built on July 27, 2022, 3:56 a.m.