mathead: Gets a small piece of a matrix (top left corner) for viewing,...

Description Usage Arguments Value Examples

View source: R/mathead.R

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

1
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

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

jamesdalg/CNVScope documentation built on Aug. 4, 2019, 9:24 p.m.