merge_aux_info_from_file: Get auxiliary information from a file, and merge as JSON...

Description Usage Arguments

View source: R/json-helper.R

Description

This is a wrapper for merge_aux_info_from_df() in that it fails gracefully if there is an error at any stage. Also it prints some output as it goes along.

Usage

1
2
merge_aux_info_from_file(master_df, aux_file_path, aux_info_colname,
  by.master, by.aux, verbose_read = TRUE, verbose_merge = FALSE)

Arguments

master_df

Dataframe containing master merge information (e.g. names of individuals)

aux_file_path

File from which to read auxiliary information

aux_info_colname

Column name in which to store auxiliary information as JSON objects

verbose_read

boolean flag to print output on reading file

verbose_merge

boolean flag to print output while merging

by.x

Merge key on master dataframe

by.y

Merge key on auxiliary dataframe


Paradigm4/revealgenomics documentation built on Dec. 14, 2018, 12:10 p.m.