| fdata {autonomics} | R Documentation |
Get/Set feature data
fdata(object) ## S4 method for signature 'SummarizedExperiment' fdata(object) fdata(object) <- value ## S4 replacement method for signature 'SummarizedExperiment,data.frame' fdata(object) <- value
object |
SummarizedExperiment, eSet, or EList |
value |
data.frame |
feature dataframe (get) or updated object (set)
require(magrittr)
file <- download_data('billing16.proteingroups.txt')
object <- read_proteingroups(file, plot=FALSE)
head(fdata(object)) # Getter
fdata(object) %<>% cbind(z=1)
head(fdata(object)) # Setter