At this point these notes on R and statistics are mostly to myself. Hopefully over time they will evolve into something that can be more generally useful.
Tuesday, March 17, 2015
How to look inside of "as" methods in R.
To convert one S4 object into another we define "setAs" function and use is as "as".
setAs returns a "coerce<-" method. So to look up what is going on one have to look inside of "coerce"
For example coercion from MSnSet object into Expression set.
getMethod("coerce", signature=c("MSnSet","ExpressionSet"))
This returns the code of what exactly is going on during the conversion.
Subscribe to:
Posts (Atom)
Checking font availability on Mac fc-list : family | grep "Fira Code" or system_profiler -json SPFontsDataType | grep \...
-
http://www.liacs.nl/~hoogeboo/mcb/nature_primer.html
-
E.g. we have a list of dictionaries x = [{'a':1,'b':3}, {'a':3,'b':2}, {'a':2,'b':1}] x....