Learn R Programming

CNVScope (version 2.9.2)

mathead: Gets a small piece of a matrix (top left corner) for viewing, rather than pulling the first n rows.

Description

Gives a small square of a matrix to get an idea of content rather than grabbing the entire row. When this row is thousands of numbers long, this can be a problem.

Usage

mathead(mat, n = 6L)

Arguments

mat

A matrix.

n

The length and width of the piece to view.

Value

averaged_matrix a small matrix of size n.

Examples

Run this code
# NOT RUN {
load(system.file("extdata","nbl_result_matrix_sign_small.rda",package = "CNVScope"))
mathead(nbl_result_matrix_sign_small)
# }

Run the code above in your browser using DataLab