get_random_combinations: Get a large set of compatible combinations.

View source: R/get_random_combinations.R

get_random_combinationsR Documentation

Get a large set of compatible combinations.

Description

Finds a randomly generated set of at most 1000 combinations of compatible barcodes.

Usage

get_random_combinations(index_df, mplex_level, platform)

Arguments

index_df

A dataframe containing barcodes identifiers, corresponding DNA sequences along with GC content and presence of homopolymers.

mplex_level

The number at which the barcodes will be multiplexed. Illumina recommends to not multiplex more than 96 libraries.

platform

An integer representing the number of channels (1, 2, 4) of the desired Illumina platform: 1 for iSeq; 2 for NextSeq, NovaSeq, MiniSeq; 4 for HiSeq and MiSeq. 0 represents any other platform than Illumina.

Details

This function is suited if the total number of possible combinations is too high for an exhaustive search to be possible in a reasonable amount of time.

Value

A matrix containing the identifiers of compatible barcode combinations.

See Also

get_all_combinations

Examples

get_random_combinations(DNABarcodeCompatibility::IlluminaIndexes, 3, 4)



comoto-pasteur-fr/DNABarcodeCompatibility documentation built on Sept. 17, 2024, 3:28 p.m.