#create a list of coi5p objects
coi_output = lapply(example_barcode_data$sequence, function(x){
coi5p_pipe(x)
})
#flatten the list into a dataframe
coi_df = flatten_coi5p(coi_output)
#extract only a single column
coi_framed = flatten_coi5p(coi_output, keep_cols = "framed")
#or subset multiple columns
coi_framed = flatten_coi5p(coi_output, keep_cols = c("framed", "aaSeq"))
Run the code above in your browser using DataLab