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]

LieberInstitute/brainstorm documentation built on Dec. 17, 2021, 12:03 a.m.