gpuTtest {gputools} | R Documentation |
Given the number of samples and a Pearson correlation coefficient, this function estimates the t-score on a GPU.
gpuTtest(goodPairs, coeffs)
goodPairs |
a vector of positive integer values. Value i represents the number of samples used to calculate the i-th value of the 'coeffs' argument. |
coeffs |
a vector of floating point values representing Pearson correlation coefficients. |
a vector of single precision floating point values. The i-th entry is an estimate of the t-score of the i-th entry of the 'coeffs' argument.
goodPairs <- rpois(10, lambda=5) coeffs <- runif(10) gpuTtest(goodPairs, coeffs)