for (i in 1:length(myfiles)){
df<- read.table("myfiles[i]", header= TRUE)
df<- df[,c("length","A","C","G","T")]
test<- cbind(df$length,(df[,c("A","T","G","C")]/(getvalue [????Need help Here!])))
##Additional FUNCTION . to be executed!!
}
如何在currly括号中导入不同文件中的HOC。类似的东西:
export default Component; //work well
export const one = oneHOC(Component); //not work
export const two = twoHOC(Component); // not work
答案 0 :(得分:1)
我认为问题可能是大写 - 有时反应requires your components to be uppercase。试试这个:
export default Component; //work well
export const One = oneHOC(Component); //not work
export const Two = twoHOC(Component); // not work
-
import {One, Two} from "path/to/component"