View source: R/TargetingModels.R
writeTargetingDistance | R Documentation |
writeTargetingDistance
writes a 5-mer targeting distance matrix
to a tab-delimited file.
writeTargetingDistance(model, file)
model |
TargetingModel object with mutation likelihood information. |
file |
name of file to write. |
The targeting distance write as a tab-delimited 5x3125 matrix. Rows define the mutated
nucleotide at the center of each 5-mer, one of c("A", "C", "G", "T", "N")
,
and columns define the complete 5-mer of the unmutated nucleotide sequence.
NA
values in the distance matrix are replaced with distance 0.
Takes as input a TargetingModel object and calculates distances using calcTargetingDistance.
## Not run:
# Write HS5F targeting model to working directory as hs5f.tab
writeTargetingDistance(HH_S5F, "hh_s5f.tsv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.