tx_add_motifPresence | R Documentation |
Add motif presence
tx_add_motifPresence(
DT,
motif,
nucPositions = "all",
motifColName = "auto",
mask_N = TRUE,
nCores = 1
)
DT |
data.table. A table as output by the |
motif |
character. A word which depicts a DNA sequence motif to annotate. The function allows IUPAC ambiguity codes, e.g. R=A|G. |
nucPositions |
character or numeric.
|
motifColName |
character. Name of the new column to be added for annotating motif presence. Automatically is set to be a combination of the input motif and nucPositions arguments. |
mask_N |
logical. If set to FALSE, 'N' nucleotides are left as is, therefore matching motifs. i.e. A consecutive sequence of NNNNN will match any 5 letter motif as 'DRACH'; generally not desired. |
nCores |
integer. Number of cores to run the function with. Multicore capability is not available in Windows OS. |
data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.