SSVS: Load a Matrix

Description Usage Arguments Value

View source: R/UserFunctions.R

Description

This function loads a file as a matrix. It assumes that the first column contains the rownames and the subsequent columns are the sample identifiers. Any rows with duplicated row names will be dropped with the first one being kepted.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
SSVS(
  y,
  x,
  nsave = 1000,
  nburn = 1000,
  tau0 = 0.01,
  tau1 = 10,
  S0 = 0.01,
  PriorSemiScaling = F,
  scaling = T
)

Arguments

y

Path to the input file

Value

a Ssvs object


SValv/BayesianEstimation documentation built on Dec. 18, 2021, 12:01 p.m.