write(c("DummyRNA\t1\t1\tA", "DummyRNA\t1\t1\tC", "DummyRNA\t2\t2\tG",
"DummyRNA\t2\t2\tT"),file="dummy_merged_file")
write(c("DummyRNA\t1\t1\t2", "DummyRNA\t2\t2\t2"),
file="dummy_unique_barcode")
k2n_calc(merged_file = "dummy_merged_file",
unique_barcode_file = "dummy_unique_barcode")
Run the code above in your browser using DataLab