Description Usage Arguments Value Author(s) See Also Examples
View source: R/CombineReadsAcrossRuns.R
Combines multiple lists in the same format of the same sample into one list of the said format.
1 | CombineReadsAcrossRuns(seqs)
|
seqs |
A list of lists, each containing equal number of numeric vectors that can be concatenated together. Both number of lists and number of variables can be arbitrary. |
Returns a list of the same format as the input lists
Jeremy J. Shen
1 2 3 4 5 6 7 8 9 | data(JSSim_NormalSim1)
data(JSSim_NormalSim2)
write.table(JSSim_NormalSim1, file="JSSim_NormalSim1.txt", sep="\t", quote=FALSE, row.names=FALSE, col.names=FALSE)
write.table(JSSim_NormalSim2, file="JSSim_NormalSim2.txt", sep="\t", quote=FALSE, row.names=FALSE, col.names=FALSE)
JSSim_Normal1 = readSeqChiang("JSSim_NormalSim1.txt")
JSSim_Normal2 = readSeqChiang("JSSim_NormalSim2.txt")
file.remove(c("JSSim_NormalSim1.txt", "JSSim_NormalSim2.txt"))
combJSNormal = CombineReadsAcrossRuns(list(JSSim_Normal1, JSSim_Normal2))
print(c(length(JSSim_Normal1$seqF), length(JSSim_Normal2$seqF), length(combJSNormal$seqF)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.