getkmer | R Documentation |
Compare the kmer difference between 2 sets of sequences, reporting the ratio between the kmer frequencies of the 2 sequence sets, the p-value and adjusted p-value of the difference.
getkmer(
targetfile = NULL,
genomename = "mm10",
k = 6,
genes1,
genes2,
feature,
radius = 1000
)
targetfile |
The directory of the file indicating the gene regions
whose kmer need to be compared between the 2 sequence sets, not necessary
to be extactly the gene body region between TSS and TTS sites. Columns
named as chr, start, end, strand, and gene_id are required. If it is NULL,
all the gene regions defined together by the parameters |
genomename |
Specify the genome of the genes to be analyzed, when the
parameter |
k |
The length of the kmer to be analyzed. Default is 6, meaning 6-mer will be analyzed. |
genes1 |
The symbols of genes in set 1 whose kmers need to be compared
with that of set 2. The regions indicated by the parameter
|
genes2 |
The symbols of genes in set 2 whose kmers need to be compared
with that of set 1. Similar to the parameter |
feature |
If the parameter |
radius |
A numberic value needed to define the radius length of the
gene promoter or end region if the parameter |
A data.frame indicating the kmer frquency ratios between sequence set 1 and set 2, as well as p-values (calculated with Fisher's test) and adjusted p-values (adjusted using the Benjamini & Hochberg method).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.