make_snpsRNA: make_snpsRNA

Description Usage Arguments Value Examples

View source: R/make_snpsRNA.R

Description

Prep rna snps and create DNA & RNA snps (snpsGeno2) and RNA snps (snpsCalled)

Usage

1
make_snpsRNA(genotyped, called)

Arguments

genotyped

CollapsedVCF containing snp info for genotype data

called

CollapsedVCF containing filtered snp info for rna data (generated by filtered_called)

Value

Named list containing snpsGeno2 and snpsCalled, both representing snp arrays as integers.

Examples

1
2
3
4
snpsCalled_filter <- filter_called(snpsCalled_VCF)
snpsRNA <- make_snpsRNA(snpsGeno_VCF, snpsCalled_filter)
snpsRNA$snpsGeno2[1:5, 1:5]
snpsRNA$snpsCalled[1:5, 1:5]

joshstolz/brainstorm documentation built on Aug. 10, 2021, 1:23 p.m.