convertDSCToDense: Convert DSC to Dense matrix

View source: R/shaPRS.R

convertDSCToDenseR Documentation

Convert DSC to Dense matrix

Description

Helper function that converts an LD from sparse DSC to Dense format, in a given number of parts (to overcome RAM limitations)

Usage

convertDSCToDense(pop1LDmatrix, numparts = 3)

Arguments

pop1LDmatrix

LD reference matrix in RDS (dsCMatrix) format for target population

numparts

(optional) how many parts should be used for converting the matrix, if memory becomes an issue use higher numbers

Value

returns a dense LD matrix


mkelcb/shaprs documentation built on Feb. 7, 2023, 7:16 p.m.