updating_info_df: Multiplies sequence data up to sampled frequency, aligns and...

Description Usage Arguments Details

View source: R/updating_info_df.R

Description

updating_info_df

Usage

1
updating_info_df(original_df, new_df, file_name = "Info_df.csv")

Arguments

original_df

expected to be info_df or structured as info_df from earlier functions

new_df

expected to be mag_df data frame or structure as mag_df constructed in earlier function.

file_name

defaults to 'Info_df.csv' but user can set name if desired, must include file extension, e.g. '.csv'

Details

Takes newly created data frame and merges with exisiting data frame of same structure to ensure one master data frame is maintained.

Function reads in or takes newly created data frame and adds information to existing data frame of same structure, the combined data frame is the written out as a .csv file as well as being returned by the function. New data frame is based on files not previously processed because papers uploaded haplotypes not sample frequency, so data needed additional processing before inclusion. This function ensures one master data frame is maintained.


EvolEcolGroup/mtDNAcombine documentation built on July 8, 2021, 10:30 p.m.