Skip to contents

Analyses N objects using BC_multiple in sequence.

Usage

BC_many(
  object_names,
  column = NULL,
  use_paths = FALSE,
  is_phyloseq = FALSE,
  supress_messages_many = TRUE,
  ...
)

Arguments

object_names

A vector containing the names of the objects to process.

column

Optional. A list that contains vectors that indicate which columns to select for each processed object. Order must be matched with object_names.

use_paths

Optional. Set to true when the object_names vector uses paths instead of loaded objects.

is_phyloseq

Optional. Set to true if the objects to analyse have the phyloseq class.

supress_messages_many

Whether to hide the report progress that indicates how many objects are left to analyse. Also stops the resulting data frame from being printed. Defaults to true.

...

Passes arguments to BC_multiple

Value

A data frame that contains BC_multiple style information with a column appended to the right that indicates to which object the analysis belongs.

Examples

to_analyze <- c("Weblinks","Billionaires","MOMv3.3")
columns_to_use <-list(2,2,c(7,8))
BC_many(to_analyze,columns_to_use,show_stats=FALSE)




#>          otput_BC_plots output_BC_reports SampleID                      
#> temp_row list,8         list,3            "frequency"     "Weblinks"    
#> temp_row list,8         list,3            "finalWorth"    "Billionaires"
#> temp_row list,8         list,3            "Log mass"      "MOMv3.3"     
#> temp_row list,8         list,3            "Combined mass" "MOMv3.3"