View source: R/snap-utilities.R
barcodeInSnapFile | R Documentation |
This function takes an array of barcodes and a snap-format file as input and check whether selected barcodes exist in the snap file.
barcodeInSnapFile(barcode, file)
barcode |
An array of selected barcodes. |
file |
A snap format file. |
Return an array of logical variable indicates whether the barcode exists in snap file.
file.name = system.file("extdata", "demo.snap", package = "SnapATAC"); barcodes = c("ACATTGGCAACCAGGTTGCTGGTATTGGAAGT", "ACATTGGCAAGAGGCAACAAGGATATCTGAGT"); barcodeInSnapFile(barcodes, file.name);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.