SimulateBarcode: Simulate barcode for decomposition illustration

Description Usage Arguments Value

View source: R/simulation.R

Description

Generates a nucleotide barcode similar to those generated by 10x chromium sequencing platforms for illustration purposes. Generates barcode and individual ID separated by '-' delimiter.

Usage

1
SimulateBarcode(index, individual, barcode.length)

Arguments

index

Integer. Index of cell ID from 0 to barcode.length to the fourth power. Will generate a unique nucleotide barcode for each index.

individual

Character. ID of individual that the cell is from.

barcode.length

Integer. Length of nucleotide barcode.

Value

Simulated barcode for cell from an individual


cozygene/bisque documentation built on May 28, 2021, 7:57 p.m.