as.data.frame.activity {read.gt3x}R Documentation

Convert an activity matrix to a data.frame

Description

Convert an activity matrix to a data.frame

Usage

## S3 method for class 'activity'
as.data.frame(x, ..., verbose = FALSE, add_light = FALSE)

Arguments

x

Object of class 'activity' (returned by read.gt3x)

...

not used

verbose

print diagnostic messages

add_light

add light data to the data.frame if data exists in the GT3X

Value

An object of class activity_df which is also a data.frame with the following attributes (and more)

See Also

Other gt3x-parsers: parse_gt3x_info(), print.gt3x_info(), read.gt3x()


[Package read.gt3x version 1.2.0 Index]