R/RcppExports.R

Defines functions process_snptext_cpp read_bed_cpp twostep_grm_cpp write_markers_cpp

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

process_snptext_cpp <- function(df, snpmajor = 0L, maref = 0L, inhaplo = 0L, outallele = 1L, outhaplo = 0L) {
    .Call('_rres_process_snptext_cpp', PACKAGE = 'rres', df, snpmajor, maref, inhaplo, outallele, outhaplo)
}

read_bed_cpp <- function(file, nind, nsnp) {
    .Call('_rres_read_bed_cpp', PACKAGE = 'rres', file, nind, nsnp)
}

twostep_grm_cpp <- function(genotype, freq, est0) {
    .Call('_rres_twostep_grm_cpp', PACKAGE = 'rres', genotype, freq, est0)
}

write_markers_cpp <- function(marker, freq, genotype, memberID, outfile) {
    invisible(.Call('_rres_write_markers_cpp', PACKAGE = 'rres', marker, freq, genotype, memberID, outfile))
}

Try the rres package in your browser

Any scripts or data that you put into this service are public.

rres documentation built on May 2, 2019, 2:51 p.m.