Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Layouts = map[string]Layout{
"AVKNG2018": {
Delimiter: '\t',
Comment: '#',
ColEffectAllele: 1,
ColAllele1: 5,
ColAllele2: 6,
ColChromosome: 3,
ColPosition: 4,
ColScore: 2,
ColSNP: -1,
Parser: &defaultParseRow,
},
"LDPRED": {
Delimiter: ' ',
Comment: '#',
ColEffectAllele: 4,
ColAllele1: 3,
ColAllele2: 4,
ColChromosome: 0,
ColPosition: 1,
ColScore: 6,
ColSNP: -1,
Parser: &ldpredParseRow,
},
"BOLTBGEN": {
Delimiter: '\t',
Comment: '#',
ColEffectAllele: 4,
ColAllele1: 5,
ColAllele2: 4,
ColChromosome: 1,
ColPosition: 2,
ColScore: 10,
ColSNP: -1,
Parser: &defaultParseRow,
},
}
Functions ¶
func LayoutNames ¶
func LayoutNames() string
Types ¶
type PRS ¶
type PRS struct { EffectAllele Allele Allele1 Allele Allele2 Allele Chromosome string Position int Score float64 SNP string }
type PRSParser ¶
func NewWithLayout ¶
Click to show internal directories.
Click to hide internal directories.