inst/doc/allele-haplotype.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----libraries, message=FALSE-------------------------------------------------
library(readr)
library(tidyverse)
library(hlaR)

## -----------------------------------------------------------------------------
tx_cohort_clean <- read.csv(system.file("extdata/example", "Haplotype_test.csv", package = "hlaR"))

## ---- results='hide', fig.keep='all'------------------------------------------
haplotbl<- ImputeHaplo(tx_cohort_clean)

## -----------------------------------------------------------------------------
# imputehires <- slice (haplotbl)
#write_csv(imputehires, "tx_cohort_imputed")

Try the hlaR package in your browser

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

hlaR documentation built on Feb. 16, 2023, 7:04 p.m.