Description Usage Arguments Value Examples
This function produces all possible 2-mers or 3-mers by counting paths of length 2 or 3 in a dataframe which is thought as a graph
1 | k_mers(s, h)
|
s |
a dataframe with 2 columns |
h |
is length of k-mer |
all k-mers by counting paths of length h in dataframe which is considered as a graph
1 2 3 4 | s1<-LETTERS[1:4]
s2<-LETTERS[3:6]
s<-data.frame(s1,s2)
dc<-k_mers(s,3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.