occupancies {autonomics} | R Documentation |
Get / Set phosphosite occupancies matrix
occupancies(object) ## S4 method for signature 'SummarizedExperiment' occupancies(object) occupancies(object) <- value ## S4 replacement method for signature 'SummarizedExperiment,matrix' occupancies(object) <- value ## S4 replacement method for signature 'SummarizedExperiment,numeric' occupancies(object) <- value
object |
SummarizedExperiment |
value |
occupancy matrix (features x samples) |
occpuancy matrix (get) or updated object (set)
file <- download_data('fukuda20.proteingroups.txt') object <- read_proteingroups(file, plot=FALSE) occupancies(object) occupancies(object) <- values(object) occupancies(object)[1:3, 1:3]