bedasbigmatrix: Get Bed Data As A BigMatrix

Description Usage Arguments Value See Also

View source: R/access.R

Description

Gets a bed file as a BigMatrix object from package "big.memory".

Usage

1
2
3
4
5
6
7
bedasbigmatrix(
  bed,
  filename = NULL,
  meanimpute = FALSE,
  normalise = TRUE,
  verbose = TRUE
)

Arguments

bed

The "rbed" object to read

filename

(default NULL, meaning use in-memory representation) The location of a file to use to store the matrix

meanimpute

(default FALSE) Whether to replace missing values with their mean (if normalise=TRUE only)

normalise

(default TRUE) Whether to normalise data by SNP frequency, or return counts.

verbose

(default TRUE) whether to show progress for individual access

Value

A bigmatrix of

See Also

bedasbigmatrix


danjlawson/pcapred documentation built on Oct. 7, 2021, 3:47 p.m.