rotatoR: rotatoR

View source: R/rotatoR.R

rotatoRR Documentation

rotatoR

Description

a function for rotating two basis about a point or line in that plane

Usage

rotatoR(x1, y1, x2, y2, basisSET)

Arguments

x1

a value describing a the coordinate of a point in the first basis. If no values are provided for x2

y1

a value describing a the coordinate of a point in the second basis

x2

a value describing a the coordinate of the second point in the second basis

y2

a value describing a the coordinate of the second point in the second basis

basisSET

the basis to be rotated

Value

An object of class rotatoR.

Examples

 pca.RNAseq6l3c3t<-prcomp(t(p.RNAseq6l3c3t))
 r.RNAseq6l3c3t<-rotatoR(1,1,-1,-1,pca.RNAseq6l3c3t$rotation[,1:2])

genesofeve/projectR documentation built on Nov. 16, 2024, 8:20 p.m.