Learn R Programming

SELEX (version 1.4.0)

selex.saveAnnotation: Save sample annotations to file

Description

A function used to save sample metadata visible to the current SELEX session in a sample annotation file.

Usage

selex.saveAnnotation(filePath)

Arguments

filePath
Location on disk to create the sample annotation file. The full system path must be specified.

Value

Details

A sample annotation file is an XML file that acts as a database storing metadata for different SELEX experiments. selex.saveAnnotation provides a convenient way to permanently store manually entered sample information using selex.defineSample. For more information on the XML format used to store the information, see selex.loadAnnotation.

See Also

selex.defineSample, selex.loadAnnotation, selex.sampleSummary

Examples

Run this code

selex.defineSample(seqName='R0.libraries', seqFile=sampleFiles[1],
                sampleName='R0.barcodeGC', round=0, varLength=16, 
                leftBarcode='TGG', rightBarcode='CCAGCTG')

selex.saveAnnotation(paste0(workDir, "sample_annotations.xml"))

Run the code above in your browser using DataLab