#Initialize the SELEX package
#options(java.parameters="-Xmx1500M")
#library(SELEX)
# Configure the current session
workDir = file.path(".", "SELEX_workspace")
selex.config(workingDir=workDir,verbose=FALSE, maxThreadNumber= 4)
# Extract sample data from package, including XML database
sampleFiles = selex.exampledata(workDir)
# Load & display all sample files using XML database
selex.loadAnnotation(sampleFiles[3])
selex.sampleSummary()
# Create a sample handle
r0 = selex.sample(seqName="R0.libraries", sampleName="R0.barcodeGC", round=0)
# Use the sample handle to display sample properties
selex.getAttributes(r0)
Run the code above in your browser using DataLab