occupancies {autonomics}R Documentation

Get/Set occupancies

Description

Get / Set phosphosite occupancies matrix

Usage

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

Arguments

object

SummarizedExperiment

value

occupancy matrix (features x samples)

Value

occpuancy matrix (get) or updated object (set)

Examples

file <- download_data('fukuda20.proteingroups.txt')
object <- read_proteingroups(file, plot=FALSE)
occupancies(object)
occupancies(object) <- values(object)
occupancies(object)[1:3, 1:3]

[Package autonomics version 1.2.0 Index]