View source: R/doubledeepms__mochi__encode_genotypes.R
doubledeepms__mochi__encode_genotypes | R Documentation |
Encode genotypes mapping id (comma-separated mutation string) to var (single character variant string where WT=0) for variable positions only.
doubledeepms__mochi__encode_genotypes(input_dt,
sequenceType = "nucleotide", remove_constant = T)
input_dt |
Input data.table (required) |
sequenceType |
Sequence type: 'nucleotide' or 'aminoacid' (default:nucleotide) |
remove_constant |
Remove invariable positions from encoded genotype (default:T) |
Encoded genotypes dictionary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.