R/split_phenotypes.R
consolidate_and_summarize_cell_seg_data.Rd
Consolidate several cell seg data files,
each with its own Phenotype
column,
into a single file with separate columns for each phenotype.
consolidate_and_summarize_cell_seg_data(
csd_files,
output_dir,
update_progress = NULL,
col_select = NULL
)
A list or vector of paths to cell seg data files.
Path to a directory where the results will be saved.
Callback function which is called with progress.
Column selection for phenoptr::read_cell_seg_data()
A single data frame containing consolidated data and columns for each single phenotype, invisibly.
Create a summary report for each source file and the consolidated data.
Write the consolidated data to Consolidated_data.txt
in the output
directory.
The
individual files must all have exactly the same
Sample Name
or Annotation ID
and Cell ID
columns. split_phenotypes is called to split the Phenotype
columns.