doubledeepms__mochi__encode_genotypes: doubledeepms__mochi__encode_genotypes

View source: R/doubledeepms__mochi__encode_genotypes.R

doubledeepms__mochi__encode_genotypesR Documentation

doubledeepms__mochi__encode_genotypes

Description

Encode genotypes mapping id (comma-separated mutation string) to var (single character variant string where WT=0) for variable positions only.

Usage

doubledeepms__mochi__encode_genotypes(input_dt,
  sequenceType = "nucleotide", remove_constant = T)

Arguments

input_dt

Input data.table (required)

sequenceType

Sequence type: 'nucleotide' or 'aminoacid' (default:nucleotide)

remove_constant

Remove invariable positions from encoded genotype (default:T)

Value

Encoded genotypes dictionary


lehner-lab/doubledeepms documentation built on July 21, 2023, 4:10 a.m.