prepareDatObject: Data Object Preparation

View source: R/raw_data_processing.R

prepareDatObjectR Documentation

Data Object Preparation

Description

generates BCdat object after barcode backbone identification.

Usage

prepareDatObject(dat, results_dir, label, bc_backbone, min_reads, save_it)

Arguments

dat

a tbl_df object (e.g. created by dplyr::count)

results_dir

a character string which contains the path to the results directory.

label

a character string which serves as a label for every kind of created output file.

bc_backbone

a character string describing the barcode design, variable positions have to be marked with the letter 'N'.

min_reads

positive integer value, all extracted barcode sequences with a read count smaller than min_reads will be excluded from the results

save_it

a logical value. If TRUE, the raw data will be saved as a csv-file.

Value

a BCdat object.


genBaRcode documentation built on March 31, 2023, 11:02 p.m.