powered by
ndups
uniquegenelist(genelist,ndups=2,spacing=1)
genelist
length(genelist)/ndups
unwrapdups
genelist <- c("A","A","B","B","C","C","D","D") uniquegenelist(genelist,ndups=2) genelist <- c("A","B","A","B","C","D","C","D") uniquegenelist(genelist,ndups=2,spacing=2)
Run the code above in your browser using DataLab