make_snpsRNA: make_snpsRNA

View source: R/make_snpsRNA.R

make_snpsRNAR Documentation

make_snpsRNA

Description

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

Usage

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


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. 14, 2024, 10:29 p.m.