SnpArrayExperiment-class: A RangedSummarizedExperiment-derived class of marker-level...

Description Usage Arguments Examples

Description

Constructor for SnpArrayExperiment

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SnpArrayExperiment(
  cn,
  baf,
  rowRanges = GRanges(),
  colData = DataFrame(),
  isSnp = logical(),
  ...
)

## S4 method for signature 'missing'
SnpArrayExperiment(
  cn,
  baf,
  rowRanges = GRanges(),
  colData = DataFrame(),
  isSnp = logical(),
  ...
)

## S4 method for signature 'matrix'
SnpArrayExperiment(
  cn,
  baf,
  rowRanges = GRanges(),
  colData = DataFrame(row.names = colnames(cn)),
  isSnp = logical(),
  ...
)

Arguments

cn

matrix of copy number estimates (e.g., log R ratios)

baf

matrix of B allele frequencies

rowRanges

GRanges object for SNPs/nonpolymorphic markers

colData

DataFrame containing sample-level covariates

isSnp

logical vector indicating whether marker is a SNP

...

additional arguments passed to SummarizedExperiment() constructor function

Examples

1
2
3
4
5
6
## empty container
library(VanillaICE)
data(snp_exp, package="VanillaICE") # example

se <- SnpArrayExperiment(cn=lrr(snp_exp), baf=baf(snp_exp),
                   rowRanges=rowRanges(snp_exp))

VanillaICE documentation built on Nov. 8, 2020, 7:33 p.m.