mathead {CNVScope}R Documentation

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

load(system.file("extdata","nbl_result_matrix_sign_small.rda",package = "CNVScope"))
mathead(nbl_result_matrix_sign_small)

[Package CNVScope version 3.6.0 Index]