Learn R Programming

SnapATAC (version 1.0.0)

[,kgraph,ANY,ANY,ANY-method: subsetting for kgraph objects

Description

This function takes a kgraph object and returns the subset of kgraph object.

Usage

# S4 method for kgraph,ANY,ANY,ANY
[(x, i, j, drop = "missing")

Arguments

x

A kgraph object

i

selected rows

j

selected columns

drop

drop unused levels

Examples

Run this code
# NOT RUN {
data(demo.sp);
demo.sub.sp = demo.sp[1:5,];
# }

Run the code above in your browser using DataLab