estimate_pa | R Documentation |
estimate_pa
Estimates the effective proportion of
adaptive loci (P_a) using likelihood-based tests. Setting na.rm = T
assumes that missing values are true negatives.
estimate_pa(input, ndigits = 4, show.plot = F, na.rm = F)
input |
numeric array |
ndigits |
numeric |
show.plot |
boolean |
length-one numeric
array1 <- array (0,c(5000,20)) array1[cbind(1:20,1:20)] <- 1 array1[1:5,1:3] <- 1 array1[6:10,4:6] <- 1 estimate_pa(array1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.