Description Usage Arguments Value Examples
View source: R/merge_df_list.R
This is a wrapper function based on the merge_by_rownames function in cellwrangler for merging multiple dataframes or matries by their rownames
1 | merge_df_list(df_list, all.x = TRUE, all.y = TRUE, sort = FALSE)
|
df_list |
a list of dataframes or matrices |
all.x |
logical; if TRUE, then extra rows will be added to the output, one for each row in x that has no matching row in y. These rows will have NAs in those columns that are usually filled with values from y. Defaults to TRUE |
all.y |
logical; analogous to all.x |
sort |
logical; if TRUE, result will be sorted by columns. Defaults to FALSE |
A merged dataframe or matrix with the appropriate rownames
1 2 | dataframes_list <- list(dataframe1,dataframe2,dataframe3,dataframe4)
merge_df_list(dataframes_list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.