Kernel: R (R-Project)
In [1]:
Exercise 1
In [ ]:
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, xtabs
The following objects are masked from ‘package:base’:
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
get, grep, grepl, intersect, is.unsorted, lapply, lengths, mapply,
match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank,
rbind, rownames, sapply, setdiff, sort, table, tapply, union,
unique, unsplit
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
In [ ]:
mas5() executes the command for MAS5.0 expression measure. This function converts an instance of AffyBatch into an instance of ExpressionSet using the implementation of Affymetrix's MAS5.0 expression measure. Using mas5(object, normalize = TRUE, sc = 500, analysis = "absolute", ...)
In [ ]:
rma() executes the command for Robust Multi-Array Average expression measure. This function conversts an AffyBatch object into an ExpressionSet object using the RMA expression measure. Using rma(object, subset=NULL, verbose=TRUE, destructive=TRUE, normalize=TRUE, background=TRUE, bgversion=2, ...)
Exercise 2
In [2]:
In [3]:
[1] "/projects/ddda6a8e-2bca-47f5-b1d6-79b2c48d0e30/Autumn2016/Week4/data_wk4"
Exercise 3
In [4]:
In [6]:
AffyBatch (storageMode: list)
assayData: 640 features, 640 samples
element names: exprs
protocolData: none
phenoData
sampleNames: 20A 20B 10A 10B
varLabels: liver sn19 scanner
varMetadata: labelDescription
featureData: none
experimentData: use 'experimentData(object)'
Annotation: hgu95av2
The data shows the size of the array is 640x640 (35221kb), cdf maps each gene that is in the array (12625 genes), and there are 4 samples.
Exercise 4
In [8]:
Background correcting
Normalizing
Calculating Expression
ExpressionSet (storageMode: lockedEnvironment)
assayData: 12625 features, 4 samples
element names: exprs
protocolData: none
phenoData
sampleNames: 20A 20B 10A 10B
varLabels: liver sn19 scanner
varMetadata: labelDescription
featureData: none
experimentData: use 'experimentData(object)'
Annotation: hgu95av2
Background correcting
Normalizing
Calculating Expression
ExpressionSet (storageMode: lockedEnvironment)
assayData: 12625 features, 4 samples
element names: exprs
protocolData: none
phenoData
sampleNames: 20A 20B 10A 10B
varLabels: liver sn19 scanner
varMetadata: labelDescription
featureData: none
experimentData: use 'experimentData(object)'
Annotation: hgu95av2
In [9]:
background correction: mas
PM/MM correction : mas
expression values: mas
background correcting...done.
12625 ids to be processed
| |
|####################|
In [ ]:
In [34]:
In [35]:
In [37]:
In [38]:
In [40]:
In [41]:
Exercise 6
In [1]:
Error in library(puma): there is no package called ‘puma’
Traceback:
1. library(puma)
2. stop(txt, domain = NA)
In [49]:
In [52]:
In [54]:
In [55]:
In [56]:
In [58]:
In [60]:
In [3]:
In [5]:
In [1]:
In [9]:
In [10]:
In [ ]: